trakt / api-help

Trakt API docs at https://trakt.docs.apiary.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trending Shows Endpoint responding with 503

harroguk opened this issue · comments

When trying to request "Trending Shows" I receive a 503 error

PS C:\Users\Administrator> invoke-webrequest -Method GET "https://api.trakt.tv/shows/trending?limit=50" -ContentType "application/json" -Headers @{"Accept" = "application/json";
>> "trakt-api-key"           = $traktkey;
>> "trakt-api-version"       = "2"
>> }
>>
invoke-webrequest : The remote server returned an error: (503) Server Unavailable.
At line:1 char:1
+ invoke-webrequest -Method GET "https://api.trakt.tv/shows/trending?li ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

PS C:\Users\Administrator>

The API responds normally when requesting Watched Shows or Anticipated Shows via

https://api.trakt.tv/shows/anticipated?limit=50
https://api.trakt.tv/shows/watched/period?limit=50

no worries, I was confused because it felt like part of the API was responding normally and another part was not.

I can ride it out. not an issue :)