All Products
Search
Document Center

Object Storage Service:0007-00000008

Last Updated:Mar 20, 2026

The callbackUrl field in your upload callback configuration contains a private IP address. OSS cannot reach a private IP from its servers, so the callback request fails and an error is returned.

Problem description

The callbackUrl field contains a private IP address instead of a publicly routable one.

Causes

When OSS processes an upload with a Callback parameter, it Base64-decodes the parameter value to obtain a JSON string. If the callbackUrl field in that JSON resolves to a private IP address — such as 127.0.0.1 or any RFC 1918 address — OSS cannot deliver the callback and returns an error.

The callbackUrl field specifies where OSS sends the HTTP callback request after a successful upload. That destination must be a publicly routable IP address.

Examples

The following is a decoded Callback parameter value that triggers this error:

{
  "callbackUrl": "127.0.0.1:8088/test.php",
  "callbackBody": "bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&imageInfo.height=${imageInfo.height}&imageInfo.width=${imageInfo.width}&imageInfo.format=${imageInfo.format}&my_var=${x:my_var}"
}

127.0.0.1 is a loopback address — a private IP — so OSS cannot reach it, and the callback fails.

Solutions

Make sure that the IP addresses of the URLs in the callbackUrl field are public IP addresses that can be accessed as expected.

References