403 Forbidden Error When Uploading Files to Bucket Despite Correct Token Scopes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Autodesk Forge Team and Community,
I am experiencing a persistent issue when trying to upload files to my bucket using the Forge OSS API. Despite having a valid access token with the correct scopes (data:read, data:create, data:write, bucket:create, bucket:read), I receive a 403 Forbidden error on every upload attempt.
Here are some details of my situation:
The bucket exists and is accessible.
I have confirmed the token scopes and client ID by decoding the JWT token.
I have tested uploading different file types, including a simple .txt file and an .ifc file, but all attempts result in the same 403 error.
I am using the official endpoint: https://developer.api.autodesk.com/oss/v2/buckets/{bucketKey}/objects/{objectName} with the required headers (Authorization: Bearer {token} and Content-Type: application/octet-stream).
I have verified that the bucket policy is set to persistent.
Other API calls such as listing buckets or getting bucket details work fine with the same token.
Could you please help me understand why the upload requests are being forbidden? Is there a known issue, or any additional permission or configuration needed?
Thank you in advance for your support!
Best regards,
Víctor