API get poster is giving a 403 error the last few days

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
LLloody
Posts: 2
Joined: Fri Jun 01, 2018 2:53 pm

API get poster is giving a 403 error the last few days

Postby LLloody » Fri Jun 01, 2018 3:01 pm

Using wc As New HttpClient(handler)
wc.DefaultRequestHeaders.Add("Authorization", "Bearer " + My.Settings.TVDBToken)
Dim erlRef As String = My.Settings.TVDBUrl + "/series/" + id.ToString + "/images/query?keyType=poster"
Dim json As String = wc.GetStringAsync(erlRef).Result

LLloody
Posts: 2
Joined: Fri Jun 01, 2018 2:53 pm

Re: API get poster is giving a 403 error the last few days

Postby LLloody » Fri Jun 01, 2018 3:58 pm

I figured out the issue: I was requesting 'PosterData.thumbnail' and it appears that the thumbnail is always empty now from the API.
It WAS returning a string with the thumbnail filename. My subsequent calls were failing because I was passing My.Settings.TVDBImageUrl + PosterData.thumbnail w/o checking to see if PosterData.thumbnail was empty.
I dunno if this is a change I missed or an actual issue with the API.