Open SirSparkles opened 2 years ago
I've ticketed to the devs @SirSparkles and they will discuss it in the am.
@SirSparkles I spoke with the devs, we don't have a refresh token endpoint. Our /login endpoint returns a new token every time it's called, so you can just call that instead of refreshing the existing token.
Is this a change? The refresh token endpoint worked until recently?
(happy that I can refactor and just request a new token, but just intersted how breakign API changes are notified)
@SirSparkles I don't think we ever supported that endpoint. I have searched in previous version of the documentation and our repositories and it doesn't seems to exist. So probably was always returning a 400 error. For refreshing the token, you can use the /login endpoint and it will returned a new token every time.
@SirSparkles I'm going to reopen this ticket, as we are considering this issue for a future enhancement and I want the community to be able to know the progress of it.
Internal ticket for our reference - https://mediamorph.atlassian.net/browse/TVD-3364
Hi,
refresh_token
seems to be failing with a 400 Bad Request errorhttps://api4.thetvdb.com/v4/refresh_token
Headers I'm sending are: Accept: application/json Authorization: Bearer ey...Y8 x-api-key: ey...Y8
Has anything changed on your end?