Ignoring Errors and Returning Original Images
You can edit code on OBS Console or make an API call to ignore errors and return original images.
For details about how to use image styles, see Step 3: Creating an Image Style and Processing the Image.
The following operation will ignore errors such as invalid request parameters and excessive image processing, and directly return the original images.
This operation is represented by ignore-error.
| Parameter | Value Description | Code Example |
|---|---|---|
| value | The value can be 0 (default) or 1. If the value is set to 0, errors will not be ignored. If there is an error, the server returns an error message. If the value is set to 1, errors will be ignored. If an error occurs, for example, the request parameter is invalid or the image processing exceeds the limit, the server ignores the error and returns the original image. | image/ignore-error,1 |
Example
Ignore errors.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot