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.
Ĉu volas taksi aŭ aldoni ĉi tiun elementon al listo?
Ĉu ne estas membro?
Respondo de robbie3999
je Septembro 26 2023 je 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.
Respondo de chanemamovies
je Septembro 28 2023 je 6:32 PM
thanks, it helped a lot