curl --request GET \
--url 'https://api.themoviedb.org/4/account/htilly/movie/watchlist?page=1' \
--header 'authorization: Bearer API_KEY_GOES_HERE' \
--data '{}'
Result:
{"status_code":11,"status_message":"Internal error: Something went wrong, contact TMDb.","success":false}
?!
BR Tilly
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ مايو 23, 2018 في 11:38 مساءا
Maybe, just one maybe, change the 4 by 3.
... themoviedb.org/3/account ...
رد بواسطة htilly
بتاريخ مايو 24, 2018 في 1:46 صباحا
Tried, no go. And I got it from here: https://developers.themoviedb.org/4/account/get-account-movie-watchlist
:)
And since I'm new here.. Just to be clear.. {account_id} is my account name, right? So for me this would be "htilly" ?
/Tilly
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ مايو 24, 2018 في 9:02 صباحا
I know very little about API v3. And even less of the API v4.
Sorry I can not help you. Only Travis Bell can help you.
Travis Bell, Help
رد بواسطة jyggen
بتاريخ مايو 24, 2018 في 5:48 مساءا
I get the same error (status code 11) when trying to add a comment to an existing item in a list using the v4 list API. The same code/request works for some items, but others just crash and burn.
رد بواسطة Travis Bell
بتاريخ مايو 26, 2018 في 10:56 صباحا
@htilly You need to be making a request with your account id, not username.
You can get your account ID by completing the request for an access token. I have an example script that you can use to see what I mean here.
@jyggen Can you create a new post? Your issue doesn't sound connected to @htilly's. Thanks.
رد بواسطة htilly
بتاريخ مايو 26, 2018 في 3:00 مساءا
Works like a charm!!
Thanks!!
Stupid questions. Do I need to complete the request for an access token each time.. Or can I reuse this user ID from now on?
BR Tilly
رد بواسطة Travis Bell
بتاريخ مايو 28, 2018 في 10:05 صباحا
Excellent!
No, you do not. Access tokens do not expire so feel free to use that one.