Page 6 of 6

Re: Issues with the API

Posted: Mon Nov 25, 2019 3:15 am
by niallobr
niallobr wrote:
Sun Nov 24, 2019 7:36 am
Having a problem grabbing a poster via swagger where poster exists on the website.

https://www.thetvdb.com/series/the-wheel-of-time

https://artworks.thetvdb.com/banners/se ... 999612.jpg

Request URL

Code: Select all

https://api.thetvdb.com/series/355730/images/query?keyType=poster
Response Body

Code: Select all

{
  "Error": "No results for your query"
}
Also missing from results when I try GET /series/355730.

Anything I can do?
I added new background and poster artwork for the show, just to see if it just needed some kind of refresh but still having the same problem. keyType=background is working fine but keyType=poster returns 404.

Re: Issues with the API

Posted: Mon Nov 25, 2019 3:28 am
by niallobr
Apologies - last post, I can't edit previous posts.

If I do GET /series/{id}/filter with

Code: Select all

https://api.thetvdb.com/series/355730/filter?keys=poster%2Cfanart
I get the latest poster. I also get a fanart image but it is not the latest/most favourited fanart.

Code: Select all

{
  "data": {
    "fanart": "fanart/original/5c775d3aae711.jpg",
    "poster": "series/355730/posters/62007176.jpg"
  },
  "errors": {}
}
There seems to be some discrepancies in the results returned for different types of request. Hope this helps in identifying the issue.

Re: Issues with the API

Posted: Tue Nov 26, 2019 6:24 pm
by JimAvanti
szsori wrote:
Thu Nov 14, 2019 12:20 am
username and key have always been optional. They're really only needed if you're trying to work with user-specific info like favorites. So you should be able to continue the other way with just the API key, but we'll definitely look into the username/key issue a bit more this week. Thanks!
The problem I found was that the user key I have been using for years was recently changed. I always used username/key when getting a token. I didn't know you could get one without using it, but as soon as I changed it to the new user key listed in my account everything worked again. TheTVdb.com website also keeps asking me to reset my password which is a bit annoying.

Jim

Re: Issues with the API

Posted: Wed Dec 18, 2019 11:24 am
by satellitem8
Not sure if this is the right place but I stucked finishing application due to API not returning necessary data (fanart) while web page contain missing one (non english serie).
Sample Test URL:

Code: Select all

https://api.thetvdb.com/series/286152/images/query?subKey=graphical
Result:

Code: Select all

{
  "data": [
    {
      "id": 1152065,
      "keyType": "poster",
      "subKey": "graphical",
      "fileName": "posters/286152-2.jpg",
      "languageId": 0,
      "language": "en",
      "resolution": "680x1000",
      "ratingsInfo": {
        "average": 1,
        "count": 1
      },
      "thumbnail": "posters/286152-2_t.jpg"
    },
    {
      "id": 1238554,
      "keyType": "series",
      "subKey": "graphical",
      "fileName": "graphical/286152-g3.jpg",
      "languageId": 0,
      "language": "en",
      "resolution": "758x140",
      "ratingsInfo": {
        "average": 2,
        "count": 2
      },
      "thumbnail": "graphical/286152-g3_t.jpg"
    },
    {
      "id": 1241677,
      "keyType": "poster",
      "subKey": "graphical",
      "fileName": "posters/286152-3.jpg",
      "languageId": 0,
      "language": "en",
      "resolution": "680x1000",
      "ratingsInfo": {
        "average": 1,
        "count": 1
      },
      "thumbnail": "posters/286152-3_t.jpg"
    },
    {
      "id": 1251371,
      "keyType": "poster",
      "subKey": "graphical",
      "fileName": "posters/286152-5.jpg",
      "languageId": 0,
      "language": "en",
      "resolution": "680x1000",
      "ratingsInfo": {
        "average": 1,
        "count": 1
      },
      "thumbnail": "posters/286152-5_t.jpg"
    }
  ]
}
Fanart is missing. Why? This is just example. I could paste more.

Re: Issues with the API

Posted: Tue Dec 24, 2019 8:11 pm
by ronnycoolen
Getting incomplete data on episode lookup:

Code: Select all

https://api.thetvdb.com/episodes/6029969
Result:

Code: Select all

{
  "data": {
    "id": 6029969,
    "airedSeason": 18,
    "airedSeasonID": 706340,
    "airedEpisodeNumber": 1,
    "episodeName": null,
    "firstAired": "2017-04-01",
    "guestStars": [],
    "directors": [],
    "writers": [],
    "overview": null,
    "language": {
      "episodeName": "en",
      "overview": "en"
    },
    "productionCode": "",
    "showUrl": "",
    "lastUpdated": 1491296923,
    "dvdDiscid": "",
    "dvdSeason": null,
    "dvdEpisodeNumber": null,
    "dvdChapter": null,
    "absoluteNumber": null,
    "filename": "episodes/84694/6029969.jpg",
    "seriesId": 84694,
    "lastUpdatedBy": 1,
    "airsAfterSeason": null,
    "airsBeforeSeason": null,
    "airsBeforeEpisode": null,
    "imdbId": "",
    "contentRating": "TV-Y",
    "thumbAuthor": null,
    "thumbAdded": "",
    "thumbWidth": "640",
    "thumbHeight": "360",
    "siteRating": 0,
    "siteRatingCount": 0,
    "isMovie": 0
  }
}
Episode name is present in the web based database, but not in the API.

Re: Issues with the API

Posted: Fri Jan 17, 2020 4:43 pm
by emilyhelwig
Status Update: This ticket has been released on 1/17. Thanks for your patience as we work to get through all remaining issues.

Re: Issues with the API

Posted: Tue Jan 21, 2020 8:56 am
by tommboys
still having problems

Re: Issues with the API

Posted: Wed Feb 12, 2020 8:24 am
by Dan2705
Same problem here with series 83214. Interestingly, the issue only starts to occur in the middle of page 7 onward (see screenshot)
Image

Screenshot: https://ibb.co/w6bkgLb

Re: Issues with the API

Posted: Wed Feb 12, 2020 9:52 am
by szsori
Dan2705 wrote:
Wed Feb 12, 2020 8:24 am
Same problem here with series 83214. Interestingly, the issue only starts to occur in the middle of page 7 onward (see screenshot)
Image

Screenshot: https://ibb.co/w6bkgLb
The record before that has both an English and German name, so we're returning the English because you don't specify in your query. The one highlighted has only a German translation so null is returned, since once again it's looking for English. This is the expected behavior.

Re: Issues with the API

Posted: Thu Feb 13, 2020 7:52 am
by Dan2705
szsori wrote:
Wed Feb 12, 2020 9:52 am
The record before that has both an English and German name, so we're returning the English because you don't specify in your query. The one highlighted has only a German translation so null is returned, since once again it's looking for English. This is the expected behavior.
Awesome - just awesome! Thanks a ton for the response; everything works fine now