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"
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ ژانویه 21, 2025 ساعت 10:10 ق.ض
I couldn't find any Movie, TV Show or Person with that name, Instellar, in the TMDb database.
Maybe that's the problem.
پاسخ توسط hypelist
در تاریخ ژانویه 21, 2025 ساعت 10:42 ق.ض
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
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ ژانویه 21, 2025 ساعت 10:54 ق.ض
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.
پاسخ توسط hypelist
در تاریخ ژانویه 21, 2025 ساعت 1:05 ب.ض
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"
پاسخ توسط ticao2 🇧🇷 pt-BR
در تاریخ ژانویه 21, 2025 ساعت 4:38 ب.ض
I asked for the constructed Request and not its code.
So I can only deduce the below.
In all the Requests you used the colon character, : , as a separator, when you should have used the equal sign, = .
Example:
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, ? .
پاسخ توسط Travis Bell
در تاریخ ژانویه 21, 2025 ساعت 5:10 ب.ض
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.
پاسخ توسط hypelist
در تاریخ ژانویه 22, 2025 ساعت 2:50 ق.ض
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