aniyomiorg / aniyomi

An app for manga and anime

Home Page:https://aniyomi.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shikimori tracking anime - HTTP error 404 (+ example how to fix it)

Froxim opened this issue · comments

Steps to reproduce

  1. Anime should be added to the list on Shikimori
  2. Select this anime to track in the application
  3. API returns HTTP error 404

Expected behavior

Anime should start tracking without errors

Actual behavior

HTTP error 404

Crash logs

No response

Aniyomi version

0.15.2.4

Android version

Android 12

Device

Xiaomi Redmi Note 9 Pro

Other details

I examined the request creation code in the ShikimoriApi.kt file and discovered the cause of the error:
IMG_20240425_093443
If replace "mangas" with "animes" the tracking will work.
I checked it on a copy - HTTP error 404 no longer appeared.

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • If this is an issue with an official extension, I should be opening an issue in the extensions repository.
  • If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
  • I have gone through the FAQ and troubleshooting guide.
  • I have updated the app to version 0.15.2.4.
  • I have updated all installed extensions.
  • I will fill out all of the requested information in this form.

Same problem and don't know how to solve.

I described the fix in Other details. But I've never used Github, and I don't know how to add it to the project. The screenshot shows the place in the code that needs to be replaced with "animes". This will solve the problem.
IMG_20240508_212856

I described the fix in Other details. But I've never used Github, and I don't know how to add it to the project. The screenshot shows the place in the code that needs to be replaced with "animes". This will solve the problem.

I tried to login my account today but password reset didn't work, I'll try again tomorrow and see if that change fixes it

I described the fix in Other details. But I've never used Github, and I don't know how to add it to the project. The screenshot shows the place in the code that needs to be replaced with "animes". This will solve the problem.

I tried to login my account today but password reset didn't work, I'll try again tomorrow and see if that change fixes it

You can create a temporary email for a test account on Shikimori. For example, https://temp-mail.org/ru/

You can create a temporary email for a test account on Shikimori. For example, https://temp-mail.org/ru/

no need, I already resolved it. I'll probably PR tomorrow. I fixed that and labels.