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

help! getting "Error processing request." when I click authorize...(both for anilist and mal) #90

Closed
RashikFarhan opened this issue Nov 16, 2023 · 5 comments

Comments

@RashikFarhan
Copy link

/* Please do not create an issue about a specific show or movie not working with the plugin. Shows that have multiple cours or odd seasons generally do not work well with this plugin, and we do not fix individual issues. */

Describe the bug
A clear and concise description of what the bug is.
Everything goes perfectly until the test auth. where it produces a auth link for mal or anilist. when I open it it asks for permission by clicking Allow. But when I click allow, an error message occurs "Error processing request.". It's happening for both MAL and Ani;ist.
To Reproduce
Steps to reproduce the behavior:
Follow the instructions of the plugin and make api and generate auth link.
open the link, click Allow
it'll give "Error processing request."

Desktop (please complete the following information):

  • Browser Chrome
  • Jellyfin version 10.8.12
  • Plugin version 2.9
@vosmiic
Copy link
Owner

vosmiic commented Nov 18, 2023

Please provide your Jellyfin logs

@vosmiic
Copy link
Owner

vosmiic commented Nov 26, 2023

What redirect URL are you using? From your logs (you may want to edit/delete the attached file, as it may contain some information you do not want to keep public) I can tell it should probably be http://localhost:8096/AniSync/apiUrlTest
Did you also test the redirect URL to confirm it is correct?

@sean-mcgauley
Copy link

sean-mcgauley commented Dec 1, 2023

Hello just commenting to say that I have run into the same issue as above. Sometimes the link brings up a login prompt and fails with the message "invalid client" when cancel is hit; I managed to get to the above mentioned screen once as well without having to log in where you would hit allow on MAL but then it returns "error processing request". The ApiUrlTest passes.

I believe this would be the relevant error found in the jellyfin logs:
[ERR] [36] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request: "Could not retrieve Mal token: Unauthorized - Unauthorized". URL "GET" "/AniSync/authCallback".

The status code I have seen in various places is "400"

Edit:
I'm also running my jellyfin through docker and got this working but I tried a couple different things at once so I'm not honestly sure which part got it working. I think adding the docker url to the apiconfig in MAL may have been the fix but I'm not sure if that was actually the case.

@vosmiic
Copy link
Owner

vosmiic commented Jan 10, 2024

@RashikFarhan does @sean-mcgauley suggestions in their reply fix your issues?

@vosmiic
Copy link
Owner

vosmiic commented Jan 20, 2024

Closing this as its been 2 weeks

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

No branches or pull requests

3 participants