API V2.1.2 Resource not found during search

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
nbeis
Posts: 1
Joined: Wed Nov 01, 2017 3:28 am

API V2.1.2 Resource not found during search

Postby nbeis » Wed Nov 01, 2017 3:34 am

Hello,

Yesterday, my Kodi had trouble srapping my series library. After research i came up with the issue where the API returned 404 during search:

Code: Select all

curl -X GET --header 'Accept: application/json' --header 'Accept-Language: el' --header 'Authorization: Bearer KEY' 'https://api.thetvdb.com/search/series?name=orange%20is'


And the response:

Code: Select all

{
  "Error": "Resource not found"
}


The response headers are:

Code: Select all

{
  "date": "Wed, 01 Nov 2017 08:27:06 GMT",
  "x-thetvdb-api-version": "2.1.2",
  "server": "cloudflare-nginx",
  "x-powered-by": "Thundar!",
  "vary": "Accept-Language",
  "content-type": "application/json; charset=utf-8",
  "status": "404",
  "cache-control": "private, max-age=600",
  "cf-ray": "3b6d790e8ee55cd5-ATH",
  "content-length": "35"
}


This happens with every keyword. If I change the language to english the response exists. Could you please tell me whether this is right or wrong from your side?

Thanks, Nick. :D

devonuto
Posts: 2
Joined: Wed Mar 05, 2014 4:10 am

Re: API V2.1.2 Resource not found during search

Postby devonuto » Sun Jan 14, 2018 9:33 pm

English is "en" not "el"