Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [OFFICIAL] Generated Issue: ParserException #540

Closed
1 task done
irfan-dahir opened this issue Nov 1, 2023 · 1 comment
Closed
1 task done

🐛 [OFFICIAL] Generated Issue: ParserException #540

irfan-dahir opened this issue Nov 1, 2023 · 1 comment
Assignees
Labels

Comments

@irfan-dahir
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Sentry Report: https://jikan-ev.sentry.io/share/issue/215e6ac98e42452c90f4339598713c73/

Req: https://api.jikan.moe/v4/anime/31758/episodes/2
MAL: https://myanimelist.net/anime/5/_/episode/2

Episodes pages that do not exist for anime do not return 404. Instead they return HTTP 200 w/o any listing. Should be a quick fix with a node empty check and empty array return.

Expected Behavior

The API should have returned a successful response with data.¤t_behavior=The API has returned an error:
Jikan\Exception\ParserException
Status code: 0
Message: Failed to parse 'https://myanimelist.net/anime/31758/_/episode/2'
Trace: /var/www/jikan-rest/vendor/jikan-me/jikan/src/Exception/ParserException.php on line 24

Steps To Reproduce

Http Request: `GET /v4/anime/31758/episodes/2

Environment

No response

Anything else?

No response

@irfan-dahir irfan-dahir added the bug label Nov 1, 2023
@irfan-dahir irfan-dahir self-assigned this Nov 1, 2023
@irfan-dahir
Copy link
Collaborator Author

Duplicate #561

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant