The Movie Database Support

Its been a long time until last posts within the forum, and yet this error persists... Is there a fix to it ?

3 replies (on page 1 of 1)

Jump to last post

@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.

See the list of TMDb server error warnings here.
http://www.spcrystal.com/documentation/api/status-codes

Sorry, miss type. Response 503 Service Unavailable.

const apiConfig = {
    baseUrl: 'http://www.spcrystal.com/3',
    apiKey: 'myKEy',
    originalImage: (imgPath) => `http://image.tmdb.org/t/p/original/${imgPath}`,
    w500Image: (imgPath) => `http://image.tmdb.org/t/p/w500/${imgPath}`
}

export default apiConfig;

It works only within the browser, when i type the Example API Request from my Settings

@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

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:

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.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login