API Key generated on website is not valid

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Post Reply
Ribesg
Posts: 1
Joined: Mon May 20, 2019 4:07 am

Sun Aug 25, 2019 6:16 am

Hi.

I'm trying to use the API, but I always receive a 401 "API Key Required" error when I try to use API keys generated in the "API ACCESS" page on the website.

I found the API key '4144331619000000' in a post on this forum, and this one works. So what should I do? How do I get my own API key? I suppose using this key isn't a good idea?

Thanks
Newtonmercedes0
Posts: 1
Joined: Fri Aug 30, 2019 5:02 pm

Sat Aug 31, 2019 2:43 am

Need to get my own API Key.
How can I get it?
Mistywing
Site Moderator
Posts: 1884
Joined: Sun Jul 17, 2016 11:59 pm

Sun Sep 08, 2019 2:22 pm

Incrementing
Posts: 2
Joined: Sat Oct 26, 2019 12:38 pm

Sat Oct 26, 2019 12:44 pm

Mistywing wrote:
Sun Sep 08, 2019 2:22 pm
https://www.thetvdb.com/member/api
I'm also having the same issue, keys generated using the link you posted don't seem to be valid. I've generated three keys and every time I get a 401 response but using the key posted by Ribesg works fine.

Code: Select all

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
  "apikey": "RMJMJ99V7OAJCHWT"
}' 'https://api.thetvdb.com/login'
{"Error":"API Key Required"} 

Code: Select all

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{
  "apikey": "4144331619000000"
}' 'https://api.thetvdb.com/login'
{"token":".....
rudis1261
Posts: 8
Joined: Sun Jan 11, 2015 10:41 am

Thu Nov 14, 2019 11:46 pm

Same issue here, can't use newly generated tokens, they are getting ignored
Post Reply