Dezgo

PAGATO
Da dezgo | Aggiornamento 21 दिन पहले | Artificial Intelligence/Machine Learning
Popolarità

9.6 / 10

Latenza

7,341ms

Livello di servizio

99%

Health Check

N/A

Torna a tutte le discussioni

JSON decode Error

Rapid account: Bahadirozkan
bahadirozkan
6 महीने पहले

Hello,
I’m getting a “json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)” when I run Python requests sample code locally. Could you please help?

Rapid account: Dezgo
dezgo Commented 6 महीने पहले

Hello,
given this error message, it seems that you’re trying to parse the HTTP response as JSON.

The response is returned as “image/png” instead (raw bytes of the PNG image file), so there’s no JSON deserialization step required.

Hope this helps, let us know if you have any further questions.

Partecipa alla discussione - aggiungi un commento di seguito:

Accedi/Iscriviti per pubblicare nuovi commenti