The Movie Database サポート

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

7 replies (on page 1 of 1)

Jump to last post

Maybe, just one maybe, change the 4 by 3.

... themoviedb.org/3/account ...

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

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

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.

@htilly You need to be making a request with your account id, not username.

https://api.themoviedb.org/4/account/{ACCOUNT_ID}/movie/watchlist?page=1

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.

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

Works like a charm!!

Excellent!

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?

No, you do not. Access tokens do not expire so feel free to use that one.

映画やテレビ番組が見つかりませんか?ログインして作成してください。

全般

s 検索バーに移動する
p プロファイルメニューを開く
esc 開いているウィンドウを閉じる
? キーボードショートカットウィンドウを開く

メディアのページ

b 戻る(または該当する場合は親に)
e 編集ページに行く

テレビ番組のシーズンのページ

(右矢印)次のシーズンに行く
(左矢印)前のシーズンに戻る

テレビ番組のエピソードのページ

(右矢印)次のエピソードに進む
(左矢印)前のエピソードに戻る

全ての画像のページ

a 画像追加ウィンドウを開く

全ての編集ページ

t 翻訳選択を開く
ctrl+ s フォームを送信する

ディスカッションのページ

n 新しいディスカッションを作成する
w 監視ステータスを切り替える
p 公開/非公開を切り替える
c 閉じる/開くを切り替える
a アクティビティを開く
r ディスカッションに返信
l 最後の返事に行く
ctrl+ enter メッセージを送信する
(右矢印)次のページ
(左矢印)前のページ

設定

このアイテムを評価したり、リストに追加したりしたいですか?

ログイン

メンバーではありませんか?

登録してコミュニティに参加