Updated on 2026-07-27 GMT+08:00

RequestPayerDenied

The bucket is a requester pay bucket.

Error description

Access is denied because the bucket is a requester-pays bucket.

Error cause

  • Cause 1: The bucket is a requester-pays bucket, but the requester is an anonymous user.
  • Cause 2: The bucket is a requester-pays bucket, but the requester is not the bucket owner and the request does not include the x-obs-request-payer header.

Handling suggestion

  • For cause 1: Use an authenticated user to initiate the request and ensure that the request includes a valid AK/SK or temporary credential.
  • For cause 2: Add the x-obs-request-payer header to the request to indicate that you are willing to pay for the request. If you are unwilling to pay for the request, contact the bucket owner to modify the requester-pays setting for the bucket.