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 2 de 2)

Jump to last post

Páxina anterior

Everything working fine again! Thanks!!

@travisbell said:

Hi guys,

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

Since slightly before this message post the issues went away for me too, and been all good since. I didn't get a chance to reply here earlier.

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