Sprijin Bază de date filme (The Movie Database)

I have been using the tmdb api for years, but lately (the last month or so) I am getting image corrupt or truncated messages in Firefox 122 console. I also get "blocked by DevTools" errors . In the network tab I get "NS_ERROR_NET_PARTIAL_TRANSFER".

Some images are loaded and I can see them on my page, but are giving me this error, while others are just white with the same error. If I reload the image it loads fine.

This is the image URL path I'm using:
https://image.tmdb.org/t/p/w500/

This is an example of the URL I'm using (also happens with similar and recommended):
https://api.themoviedb.org/3/discover/tv?api_key=KEY&language=en-US&sort_by=first_air_date.desc&page=1&include_null_first_air_dates=false&first_air_date_year=2024&with_genres=10759
Any help would be greatly appreciated.

6 răspunsuri (pe pagina 1 din 1)

Jump to last post

Hi @tlm2408,

Does this problem only happen with Firefox?

It seems to. I only have Firefox and Microsoft Edge. Edge works okay.

Hi @travisbell,

Do you have any idea what the problem may be?

Hi @tlm2408,

Unfortunately, I do not. Googling this error doesn't yield much either.

One thing I just noticed is that mentioned the image URL you're using is https://image.tmdb.org/t/p/w500/, which has a trailing slash. And while I don't personally see any issues with that, since all of our image paths have a slash prefixed, you might be building this URL:

https://image.tmdb.org/t/p/w500//fbbj3viSUDEGT1fFFMNpHP1iUjw.jpg

Hi @tlm2408,

Unfortunately, I do not. Googling this error doesn't yield much either.

One thing I just noticed is that mentioned the image URL you're using is https://image.tmdb.org/t/p/w500/, which has a trailing slash. And while I don't personally see any issues with that, since all of our image paths have a slash prefixed, you might be building this URL:

https://image.tmdb.org/t/p/w500//fbbj3viSUDEGT1fFFMNpHP1iUjw.jpg

When it really should be:

https://image.tmdb.org/t/p/w500/fbbj3viSUDEGT1fFFMNpHP1iUjw.jpg

Does that make any difference?

@travisbell,

Yeah, I noticed the incorrect path too when I was going over my code and fixed it, but it didn't fix the problem. I have searched for an answer and came up blank as well. I'll keep trying and if I find a solution I'll post it here. It seems to be intermittent. I've been checking for the last hour and there were no problems, but now it's started playing up again. Thank you for your time.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare