@sfnakiz said: Error 502 Api not working, only within the browser
Its been a long time until last posts within the forum, and yet this error persists...
Is there a fix to it ?
Please confirm if this is the Error Response you receive.
Code HTTP Message
43 502 Couldn't connect to the backend server.
@sfnakiz said:
Sorry, miss type.
Response 503 Service Unavailable.
It works only within the browser, when i type the Example API Request from my Settings
You may be using the base URL created by Stoplight.
Never use the base URL generated by Stoplight. z4vrpkijmodhwsxzc.stoplight-proxy.io
Always use our basic production URL. api.spcrystal.com
Response 503 Service Unavailable
Error: Network Error
Check the developer tools console, it might have more information on the error.
If you are using an Ad blocker, it is possible your Ad blocker is blocking the request.
But if I use the URL directly in the browser I get the correct answer. Copy the URL of the API Request and paste it into a new tab or window of your browser.
Can't find a movie or TV show? Login to create it.
Reply by ticao2 š§š· pt-BR
on March 18, 2023 at 12:37 PM
Please confirm if this is the Error Response you receive.
See the list of TMDb server error warnings here.
http://www.spcrystal.com/documentation/api/status-codes
Reply by sfnakiz
on March 18, 2023 at 12:48 PM
Sorry, miss type. Response 503 Service Unavailable.
It works only within the browser, when i type the Example API Request from my Settings
Reply by ticao2 š§š· pt-BR
on March 18, 2023 at 5:01 PM
You may be using the base URL created by Stoplight. Never use the base URL generated by Stoplight.
z4vrpkijmodhwsxzc.stoplight-proxy.io
Always use our basic production URL.
api.spcrystal.com
Or you are probably sending your API Request directly from the Developers page.
http://www.spcrystal.com/3/getting-started/introduction
Developers.spcrystal.com is hosted by http://stoplight.io/
And yes, he's in trouble.
This is the error response I get on developers.themoviedb:
But if I use the URL directly in the browser I get the correct answer.
Copy the URL of the API Request and paste it into a new tab or window of your browser.