im trying to add movies into my list, im using the version 4 of the api cause i want to add one or more movies at once
curl --location 'https://api.themoviedb.org/4/8223725/items' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer **************' \
--data '{
"items": [
{
"media_type": "movie",
"media_id": 550
},
{
"media_type": "movie",
"media_id": 244786
}
]
}'
but im getting the error below, i dont know why:
{
"status_code": 34,
"status_message": "The resource you requested could not be found.",
"success": false
}
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by robbie3999
on September 26, 2023 at 6:45 PM
Hi @chanemamovies, there is a mistake in the user doc for list - add items. The URL
should be
Also note that you will need to create a v4 write token for this to work. Details are here.
Reply by chanemamovies
on September 28, 2023 at 6:32 PM
thanks, it helped a lot