not authorized

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Post Reply
tommboys
Posts: 27
Joined: Fri Nov 08, 2019 2:25 pm

Wed Mar 11, 2020 2:38 am

just got a not authorized error. what's going on???
tommboys
Posts: 27
Joined: Fri Nov 08, 2019 2:25 pm

Wed Mar 11, 2020 3:02 am

nvm, i think it's working again. fingers crossed
emilyhelwig
Posts: 306
Joined: Mon Sep 09, 2019 10:14 am

Wed Mar 11, 2020 9:40 am

Ok, let us know if it happens again. Thanks.
gits68
Posts: 47
Joined: Sat Nov 27, 2010 8:08 pm

Sat Mar 14, 2020 7:00 pm

Hi,

tried using https://api.thetvdb.com/swagger#!/Authe ... post_login

Code: Select all

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d 'APIKEY' 'https://api.thetvdb.com/login'
Response body :

Code: Select all

{
  "Error": "Not authorized"
}
Response code : 401
Response headers :

Code: Select all

{
  "content-length": "26",
  "content-type": "application/json; charset=utf-8",
  "date": "Sun, 15 Mar 2020 01:56:50 GMT",
  "status": "401",
  "vary": "Accept-Language",
  "via": "1.1 f7b7cf90592cf6a380fd34cc45e9c4b5.cloudfront.net (CloudFront)",
  "www-authenticate": "JWT realm=jwt auth",
  "x-amz-cf-id": "F4YIH6cij-zxxxbyDdi3zowsDAWWslK6BUSsioAn5QzVYXxluHMDhQ==",
  "x-amz-cf-pop": "FRA50-C1",
  "x-cache": "Error from cloudfront",
  "x-powered-by": "Thundar!",
  "x-thetvdb-api-version": "3.0.0"
}
any idea ?

Regards.
jforrestna
Posts: 4
Joined: Fri Nov 15, 2019 8:28 pm

Sun Mar 15, 2020 1:04 pm

Are you still having an issue? I can't even go to
"https://api.thetvdb.com/series/75332/episodes?page=1"
or
"https://api.thetvdb.com"
without receiving a response "{"Error":"Not authorized"}"
User avatar
szsori
Site Admin
Posts: 2270
Joined: Fri Nov 03, 2006 2:23 pm

Mon Mar 16, 2020 10:22 am

I was able to authenticate correctly using a variety of API keys. Are you sending the auth token you receive from the /login endpoint?
Post Reply