The Movie Database qoldaýy

I don't know if this has been noted before and if the issue is still open but my search through the topics proved fruitless.

Using the /search endpoint I am unable to generate a 404 response from the server. Using an invalid API key generates the expected 401 response, but searching for "fdäsöalkfew'aläasäldä" returns a 200 response with an empty data set.

If we are supposed to do the error checking ourselves by evaluating the length of the data set returned by the server then why provide the 404 example response in the documentation?

1 jaýap (1 ishinen 1 betinde)

Jump to last post

Hi @Hakuren

An empty results array should never return a 404. That's simply an HTTP status code, telling you the expected HTTP response, which unless there was an error or that method didn't exist, should return a 200.

I don't think an empty results array is an "error", there's just no results. You are free to code around no results however you wish.

Fılmdi nemese kórsetimdi taba almadyńyz ba? Ony jasaý úshin kirińiz.

Ǵalamdyq

s kezelimdi izdeý jolaǵyna aýystyrý
p profaıl mázirin ashý
esc ashyq terezeni jabý
? perneler tirkesimi terezesin ashý

Tasyǵyshtar betterinde

b artqa oralý (nemese qoldanylatyn bolsa, tektikke)
e óńdeý betine ótý

Telemaýsym betterinde

(oń jaq kórsetki) kelesi telemaýsymǵa ótý
(sol jaq kórsetki) aldyńǵy telemaýsymǵa ótý

Epizod betterinde

(oń jaq kórsetki) kelesi epızodqa ótý
(sol jaq kórsetki) aldyńǵy epızodqa ótý

Barlyq keskin betterinde

a keskin ústeý terezesin ashý

Barlyq óńdeý betterinde

t tárjime tańdaǵyshyn ashý
ctrl+ s pishindi jiberý

Talqylaý betterinde

n jańa talqylaýdy jasaý
w qaralǵan kúıin aýystyrý
p jalpy/jekeni aýystyrý
c jabý/ashýdy aýystyrý
a áreketterdi ashý
r talqylaýǵa jaýap berý
l sońǵy jaýapqa ótý
ctrl+ enter habaryńyzdy jiberý
(oń jaq kórsetki) kelesi betke
(sol jaq kórsetki) aldyńǵy betke

Parametrler

Want to rate or add this item to a list?

Kirý