The Movie Database atbalsts

Hi , I am using Tmdb in my app . First 2 days it worked fine . now it's giving a error massage given below. Help me.

{"status_message":"Internal error: Something went wrong, contact TMDb.","success":false,"status_code":11}

9 replies (on page 1 of 1)

Jump to last post

Hi there,

What's the request you are making?

Hi Travis, I am using discover api get call and sory by popularity. from yesterday it is giving error.. Please check the discover get api . I just checked now . It's not fixed yet.

http://discover/movie?primary_release_date.gte=2014-09-15&primary_release_date.lte=2014-10-22

Hi,

This query is working ok for me:

https://api.themoviedb.org/3/discover/movie?api_key=###&primary_release_date.gte=2014-09-15&primary_release_date.lte=2014-10-22

Are you passing any extra params?

Hi Travis,

$http.get('http://api.themoviedb.org/3/discover/movie?primary_release_date.gte='+year+'-'+month+'-' 
    + beforeday+'&primary_release_date.lte='+year+'-'+month+'-'
    + currentday+'&api_key=###&sort_by=popularity.desc')

year,month,currentday,beforeday are stored in variable...I don't know why it worked first now it's not working..doesn't make any sense.

Without seeing the fully constructed URL that is error'ing I won't be able to help out much more. If you can get a hold of that I can investigate this further for you.

You actually have three problems here.

First, you have 2 dashes in your primary_release_date.gte param: 2016-9--5 and second, 2016-9-5 isn't a valid date object. As per the documentation, you need to specify your dates in YYY-MM-DD, i.e. 2016-09-05. And third, you're specifying a gte that is later than your lte which won't yield any results. Here's a working query:

http://api.themoviedb.org/3/discover/movie?primary_release_date.gte=2016-09-01&primary_release_date.lte=2016-09-14&api_key=###&sort_by=popularity.desc

Sorry Travis I have found the problem..it is the auto date generator giving me a negative day .. which is ,of course, not available.. That's why it was showing internal error.

Thanks for your support Travis. Great Movie Api.

No problem! Happy you found the issue.

Nevari atrast filmu vai TV pārraidi? Jāpiesakās, lai to izveidotu.

Vispārējs

s fokusēties uz meklēšanas joslu
p atvērt profila izvēlni
esc aizvērt atvērtu logu
? atvērt īsinājumtaustiņu logu

Informācijas nesēju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e doties uz labošanas lapu

TV sezonas lapās

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV sērijas lapās

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atvērt attēla pievienošanas logu

Visās labošanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt veidlapu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās stāvokli
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l doties uz pēdējo atbildi
ctrl+ enter iesniegt savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vēlies novērtēt šo vienumu vai pievienot to sarakstam?

Pieteikties