Axuda de The Movie Database

Hello - thanks for the work/support of this API, it's been working well for me for almost a year. However, recently (past couple of days) I'm seeing intermittent failures for "movie add rating", "movie delete rating", "add to watchlist" and "delete from watchlist". I'd say 4 in 5 requests fail. For other APIs I have not observed any issues.

The failed "delete from watchlist" requests returns 404 and data:

{"success":false,"status_code":34,"status_message":"The resource you requested could not be found."}

The successful "delete from watchlist" delete requests returns data:

{"success":true,"status_code":13,"status_message":"The item/record was deleted successfully."}

I can reproduce the intermittent failures using the same user and movie id (i.e. it's the exact same curl command run that fails four times in a row and works at the fifth call). Example:

curl --request POST \
     --url https://api.themoviedb.org/3/account/nnnnnnnn/watchlist \
     --header 'Authorization: Bearer nnnnnnnn' \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "media_type": "movie",
  "media_id": 470,
  "watchlist": false
}

Any ideas?

Note: I'm currently not doing any automatic retries for this, and I also have rate limiting in my code (although I'm not near any rate limit when I see this issue).

17 respostas (na páxina 1 de 2)

Jump to last post

Páxina seguinteDerradeira páxina

facing the same issue since yesterday

same behavior here. It also happens at https://developer.themoviedb.org/reference/movie-add-rating

Same here! I was going nuts debugging for hours only to realize it's likely a TMDB issue. Any fix on this, @TravisBell ?

Same behavior here. Add Favorite / Delete Favorite, Add To Watchlist / Remove from Watchlist, Add Rating / Remove Rating does not work properly anymore. It takes about 15 attempts before it works. And it doesn't matter what code you use. I observed the same behavior with the code examples on the API documentation website using the "Try it!" button.

Same here. Add / remove from watchlist and favorite is not working for the past few days. I'm getting a 404.

Me too, same error here

Strange that no one from TMDB support team has responded yet...

Hi everyone! I’m getting similar errors here: Add Favorite / Delete Favorite, Add Rating / Remove Rating.

Hi guys,

This is a weird one. I'll investigate...

@travisbell said:

Hi guys,

This is a weird one. I'll investigate...

Hi Travis! Since yesterday evening, I haven't been seeing those errors anymore (Add Favorite / Delete Favorite, Add Rating / Remove Rating). Just FYI.

Hi Travis,

since yesterday evening it is also working fine on my side. Did you fix it?

Working fine here too...!

I've applied (what I think is) the fix, can you guys let me know over the next few hours how things continue to look?

@travisbell said:

I've applied (what I think is) the fix, can you guys let me know over the next few hours how things continue to look?

So far, everything's been working perfectly. I haven't had this problem since yesterday.

@travisbell said:

I've applied (what I think is) the fix, can you guys let me know over the next few hours how things continue to look?

Since yesterday everything looks good 👌

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión