https://api.replicate.com/v1/models/beautyyuyanli/multilingual-e5-large/versions/a06276a89f1a902d5fc225a9ca32b6e8e6292b7f3b136518878da97c458e2bad
{
http.fragment: ,
http.method: GET,
http.query: ,
http.response.status_code: 502,
reason: Bad Gateway
}
Sometimes we are observing an
JSONDecodeErrorraised by the library.This happens when replicate API returns
502 Bad Gatewayhttplib log:
IMO retryable status codes should be extended to cover all possible
5xxerrorshttps://github.com/replicate/replicate-python/blob/main/replicate/client.py#L203