RickDB / PlexAniSync

Sync Plex anime library to AniList
GNU General Public License v3.0
280 stars 44 forks source link

Help with invalid token error #232

Closed Ecleptic closed 8 months ago

Ecleptic commented 8 months ago

Hey there! I've the unraid docker container It's been working flawlessly for months but somewhat recently it has been failing.

I followed the Link to get my api token and put it in the ANI_TOKEN container variable. It's failing with {"errors":[{"message":"Invalid token","status":400,"locations":[{"line":2,"column":1}]}],"data":{"MediaListCollection":null}} "Unable to retrieve AniList list, check your username and access token"

I'm sure I've messed something up, but I'm not quite certain what it is.

reconman commented 8 months ago

So you retrieved a new token recently?

Ecleptic commented 8 months ago

I retrieved the token today. I checked twice. to make sure that I got the whole string and no whitespace.

reconman commented 8 months ago

DM me the username + token on Discord, I'll check if I can see what's wrong.

My Discord username is reconman.

Ecleptic commented 8 months ago

I've sent you a friend request. I don't know how to message none friends that don't have mutual servers with.

reconman commented 8 months ago

Custom settings.ini was used which resulted in ANI_TOKEN being ignored

Ecleptic commented 8 months ago

For future reference. I had a settings.ini file as well as the docker variables. The settings.ini overwrites the docker containers so my changes weren't doing anything.

Thank you @reconman