Skip to main content
Access to this resource is forbidden. This error occurs when the content you requested exists but cannot be accessed: it is private, restricted, geo-blocked, or the server hosting a media file refused the request.
When an asynchronous job fails with this error, the job status endpoint returns "status": "failed" with the error object nested under an error field.

Reasons and how to fix

Private or restricted social media content

Social media platforms like YouTube, TikTok, Instagram, X (Twitter) and Facebook may restrict access to certain content. Common scenarios include private videos, members-only or subscriber-only content, age-restricted videos, videos that require signing in, and heavily geo-blocked content. To fix this:
  1. Verify the content is publicly accessible without login
  2. Ensure the content isn’t set to private, unlisted, or members-only
  3. Test the link in a private/incognito browser window — if you can watch it there, Supadata can access it
  4. If possible, download the media and host it on publicly accessible storage

Geo-blocked content

Some videos are only available in specific countries. If the content is blocked in the regions Supadata operates from, the request returns forbidden. To fix this, use a different source for the content or host a copy on publicly accessible storage.

Cloud storage permissions (403 from origin)

When url is a file URL, this error means the server hosting the file responded with HTTP 403. Your media might be hosted on S3 or another cloud storage service with restrictive permissions that prevent our servers from accessing it. To fix this:
  1. Ensure your storage bucket allows public read access
  2. Update IAM policies to allow external access to the specific media files
  3. Test URL accessibility from a different network or device to confirm it’s publicly accessible
Pre-signed URLs whose expiry time has already passed are rejected before any download attempt with an invalid-request error, not forbidden.

Reach out to support

If you continue to face issues or need further assistance, please reach out to support@supadata.ai, and we will assist you as soon as possible.