All Products
Search
Document Center

Object Storage Service:0040-00000237

Last Updated:Mar 20, 2026

Problem description

An invalid value is specified for the r parameter of the rounded-corners action.

Causes

This error occurs when the r parameter value is either non-numeric or outside the valid range. For the full list of valid values and range bounds, see Rounded rectangle.

Examples

Case 1: Non-numeric value

GET /example_image?x-oss-process=image/rounded-corners,r_abc HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

This request fails because abc is not a number.

Case 2: Value out of range

GET /example_image?x-oss-process=image/rounded-corners,r_5000 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: application/xml

This request fails because 5000 is outside the valid range for r.

Solutions

Replace the invalid r value with a valid value, for example r_30:

GET /example_image?x-oss-process=image/rounded-corners,r_30 HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 03 Feb 2023 03:41:49 GMT
Content-Type: image/jpeg

For the full list of valid values and range bounds, see Rounded rectangle.

References

Rounded rectangle