دعم الموقع

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 أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول