error.code to decide what to do next. For a field validation error, look in error.fields.
For example, submitting an effect ID without an image returns HTTP 400 with
error.code set to invalid_request and an image entry under error.fields.
If the connection drops during image processing, the provider may have completed the operation. Resending the request can start another provider call. Avoid automatic retries when the outcome is unknown. Proxy failures may have a different response format, so check the HTTP status before parsing the body.