Trending Shows Endpoint responding with 503
harroguk opened this issue · comments
harroguk commented
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
Wally73 commented
as you can see on https://status.trakt.tv/ api is not online yet after the
db crash
…On Tue, Dec 20, 2022 at 3:14 PM harroguk ***@***.***> wrote:
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=50https://api.trakt.tv/shows/watched/period?limit=50
—
Reply to this email directly, view it on GitHub
<#386>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATWOEICREWSSXTFX5SIIHDWOG5MDANCNFSM6AAAAAATERSNIA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
harroguk commented
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 :)