API is returning unexpected 404s

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
Forum rules
This forum is now read-only. Support for TheTVDB.com is now available at https://support.thetvdb.com/
Locked
kvikshaug

Thu May 28, 2020 10:57 am

For example, a simple get request for House of Cards (id 262980):

Code: Select all

$ curl -X GET -k -H 'Authorization: Bearer <token hidden>' -i 'https://api.thetvdb.com/series/262980'

HTTP/2 404
content-type: application/json; charset=utf-8
content-length: 32
date: Thu, 28 May 2020 17:38:38 GMT
cache-control: private, max-age=86400
x-powered-by: Thundar!
x-thetvdb-api-version: 3.0.0
vary: Accept-Language
x-cache: Miss from cloudfront
via: 1.1 76ab02fad35a55e39b30639d4e6784bc.cloudfront.net (CloudFront)
x-amz-cf-pop: CPH50-C1
x-amz-cf-id: xol1AxtchQ14wlpxpwwRZaKcsaXrXK2EuVUuOhz_c7SxRZbtXmUUGw==

{"Error":"ID: 262980 not found"}
Is there anything wrong with the request, or are there issues with the API?
captainplanent
Posts: 6
Joined: Sat Mar 14, 2020 6:43 am

Thu May 28, 2020 10:58 am

I'm getting the same thing here on different systems, so it's probably the API.
jrjong

Sun May 31, 2020 6:31 am

Hey there,
I'm facing the same issue. And also, as captainplanent said, it is not the API in my case. So, is there anything I am missing here?
jrjong

Thu Aug 20, 2020 9:33 am

kvikshaug wrote:
Thu May 28, 2020 10:57 am
For example, a simple get request for zions bank login

Code: Select all

$ curl -X GET -k -H 'Authorization: Bearer <token hidden>' -i 'https://api.thetvdb.com/series/262980'

HTTP/2 404
content-type: 
 application/json; charset=utf-8
content-length: 32
date: Thu, 28 May 2020 17:38:38 GMT
cache-control: private, max-age=86400
x-powered-by: Thundar!
x-thetvdb-api-version: 3.0.0
vary: Accept-Language
x-cache: Miss from cloudfront
via: 1.1 76ab02fad35a55e39b30639d4e6784bc.cloudfront.net (CloudFront)
x-amz-cf-pop: CPH50-C1
x-amz-cf-id: xol1AxtchQ14wlpxpwwRZaKcsaXrXK2EuVUuOhz_c7SxRZbtXmUUGw==

{"Error":"ID: 262980 not found"}
Is there anything wrong with the request, or are there issues with the API?
API is not the case, I've commented before too. SO, anyone? Suggestions?
User avatar
szsori
Site Admin
Posts: 2298
Joined: Fri Nov 03, 2006 2:23 pm

Wed Aug 26, 2020 9:49 am

I'm not sure I understand your statement that the API is not the case? You're hitting the API in that request. This currently works for me:

curl -X GET --header 'Accept: application/json' --header 'Authorization: Bearer TOKEN' 'https://api.thetvdb.com/series/262980'
Locked