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
}
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por robbie3999
el 26 de septiembre de 2023 a las 18:45
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.
Contestado por chanemamovies
el 28 de septiembre de 2023 a las 18:32
thanks, it helped a lot