When using KODI I get the following message when I try to fetch data from the movie databse (I tried many different movies, searches etc... ). The error message is always the same.
{"status_code":34,"status_message":"The resource you requested could not be found."}
I think its nothing to do with KODI because, I get the same message when using CURL directly from the command line, for instance if I try to get info about the film "Valkyrie" i type the following.
curl -o output.txt http://api.tmdb.org/3/search/movie?api_key=57983e31f*******************************&query=Valkyrie&year=2008&language=en
I dont think its a problem with the key, because I tried to use a wrong key, and then I get an error message about the key instead.
.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם
?רוצה לדרג או להוסיף פריט אל רשימה
?לא חבר אתר
תגובה מאת Dale
ב-אוגוסט 11, 2015 ב-2:43אחרי חצות יום
The URL works with my own Key, might be that KODI are not handling the status code 34. I ran into a similar issue with my own app, something changed and things started returning status code 34. I found putting a retry into my app and the resource came back.
תגובה מאת perthi
ב-אוגוסט 11, 2015 ב-4:14אחרי חצות יום
Yes, but the problem is the same also when I use CURL on the command line. Seems that actually, the resource is not available.
תגובה מאת Travis Bell
ב-אוגוסט 12, 2015 ב-10:02לפני חצות יום
Hi perthi,
This call seems to be working fine for me (with your API key, I've truncated it for privacy reasons):
Are you sure you're entering your API key correctly? The key you posted above is 5798... when the one I see in your account is 8aa7d...
תגובה מאת perthi
ב-אוגוסט 12, 2015 ב-1:18אחרי חצות יום
Hi again, thanks for helping out. The problem is not the keys, I have two keys, one came with Kodi, and the otherone I aplied for exactly in order to debug this problem. I addition I also get another error messageabout invalid key if I purposely enter an incorrect key,.. so I think e can exclude the keys as the source of the problem.
Below is the output I get if I enter excactly the same command as you show above.
תגובה מאת Travis Bell
ב-אוגוסט 12, 2015 ב-4:39אחרי חצות יום
Ah, you're getting status 34, for something reason I thought 7, "invalid key".
Remove the trailing slash in your URL:
You have:
See the difference?
תגובה מאת perthi
ב-אוגוסט 13, 2015 ב-1:46אחרי חצות יום
Yes, I do, I dont know how the / sneaked in, but anyway, I still get the same message. Now U just copy and pase your command just to be sure (I just replace the key)''
תגובה מאת perthi
ב-אוגוסט 13, 2015 ב-1:52אחרי חצות יום
I think the line
Is important, in you output it says 201 OK
I am able to ping api.tmdb.org, but maybe a firewall/port forwarding issues ? Is it any particular port I need to open (I think the SSL port is set to port forwarding)
תגובה מאת Travis Bell
ב-אוגוסט 13, 2015 ב-3:04אחרי חצות יום
In your curl command you don't have a trailing slash but you do in the cURL response. Something weird is going on, on your end. I've tried this cURL command on 3 machines and asked 2 friends and we can all access this request.
404 is right if the resource can't be found, which is right with the trailing slash.
Try wrapping your cURL command in single quotes:
תגובה מאת perthi
ב-אוגוסט 13, 2015 ב-4:14אחרי חצות יום
YESS!!! That worked, I dont really understand why,
But still, this is when use curl form the command line, when I try update from Kodi the problem is still the same
תגובה מאת perthi
ב-אוגוסט 13, 2015 ב-4:18אחרי חצות יום
From the kodi log I now get this error (still), the cause is probably the same, but how to fix it ?
תגובה מאת Travis Bell
ב-אוגוסט 13, 2015 ב-4:34אחרי חצות יום
That looks like a different error, but I am not sure.
"timeout" was reached, and "failed with code 0" sounds like a connection problem. Probably best to post this on the Kodi forums and see what they have to say about it.
תגובה מאת perthi
ב-אוגוסט 18, 2015 ב-4:27אחרי חצות יום
OK, i will try at the Kodi forum as well, and update you on the result of the inquiry here.