Υποστήριξη για το The Movie Database

We are getting a large amount of code: "ERR_BAD_RESPONSE", with the error message "Internal error: Something went wrong, contact TMDb". We have not modified our integration with the API which has been working fine up until now. How do we debug this? One example is a request to https://api.themoviedb.org/3/search/multi with params: include_adult: false language: "en-US" page: 1 query: "Instellar"

7 απαντήσεις(στη σελίδα 1 από 1)

Jump to last post

@hypelist said:
API is returning high incidents of 500 errors
We are getting a large amount of code: "ERR_BAD_RESPONSE", with the error message "Internal error: Something went wrong, contact TMDb".
We have not modified our integration with the API which has been working fine up until now.
How do we debug this?
One example is a request to https://api.themoviedb.org/3/search/multi with params:
include_adult: false
language: "en-US"
page: 1
query: "Instellar"

I couldn't find any Movie, TV Show or Person with that name, Instellar, in the TMDb database.
Maybe that's the problem.

That is just one example, we have many failing queries, as well as queries that are failing when try to fetch a particular film or tv show using it's ID

@hypelist said:

That is just one example, we have many failing queries, as well as queries that are failing when try to fetch a particular film or tv show using it's ID

I see.
Please post here some API Requests. 3 or 4, which returned this error message.
11 - 500 - Internal error: Something went wrong, contact TMDb.

Problems with API Request

In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.

Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.

1.GET https://api.themoviedb.org/3/search/multi { api_key: "my_key" include_adult: false language: "en-US" page: 1 query: "The ballad" }

2.GET https://api.themoviedb.org/3/search/multi { api_key: "my_key" include_adult: false language: "en-US" page: 1 query: "Dr. Hpuse" }

3.GET https://api.themoviedb.org/3/search/multi { api_key: "my_key" include_adult: false language: "es" page: 1 query: "Sweet tooth" }

4.GET https://api.themoviedb.org/3/movie/5140149/credits { api_key: "my_key" language: "en" }

All of these request returned 500 error: code: "ERR_BAD_REQUEST" or code: "ERR_BAD_RESPONSE"

I asked for the constructed Request and not its code.
So I can only deduce the below.

@hypelist said:

1.GET https://api.themoviedb.org/3/search/multi { api_key: "my_key" include_adult: false language: "en-US" page: 1 query: "The ballad" }

2.GET https://api.themoviedb.org/3/search/multi { api_key: "my_key" include_adult: false language: "en-US" page: 1 query: "Dr. Hpuse" }

3.GET https://api.themoviedb.org/3/search/multi { api_key: "my_key" include_adult: false language: "es" page: 1 query: "Sweet tooth" }

4.GET https://api.themoviedb.org/3/movie/5140149/credits { api_key: "my_key" language: "en" }

All of these request returned 500 error: code: "ERR_BAD_REQUEST" or code: "ERR_BAD_RESPONSE"

In all the Requests you used the colon character, : , as a separator, when you should have used the equal sign, = .
Example:

https://api.themoviedb.org/3/search/multi?api_key=THE_KEY&&include_adult=false&language=en-US&page=1&query=The+ballad

Regarding the query for the first three:
The ballad - Does not exist in the database. There are several with this term as part of the title.
Dr. Hpuse - Does not exist. Maybe you want Dr. House
Sweet tooth - There is at least one Movie and one TV Show

As for the last one.
There is no movie with this ID 5140149.
Today the highest ID is 1421415

All Requests are missing the Question Mark character, ? .

For approximately 45 minutes this morning, sometime around ~7:00 AM MST, our search service was struggling due to a higher than normal load. I've been continuing to monitor it throughout the day.

Hi Travis, thanks for letting me know, this could be the reason. I would assume that a search that doesn't return any results shouldn't return a 500 error with the error message Internal error: Something went wrong, contact TMDb. , which is what we were getting for many of these requests. Things seem to have stabilised now though

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση