Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions pages/generative-apis/troubleshooting/fixing-common-issues.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ dates:

Below are common issues that you may encounter when using Generative APIs, their causes, and recommended solutions.

## 403: Forbidden - Insufficient permissions to access the resource

### Cause
- You are not providing valid credentials
- You do not have the required IAM permissions sets
- You are not connecting to the right endpoint URL

### Solution
- Ensure you provide an [API secret key](/iam/how-to/create-api-keys/) in your API request or third party library configuration
- Ensure the [IAM user or application](/iam/reference-content/users-groups-and-applications/) you are connecting with has the right [IAM permissions sets](/iam/reference-content/permission-sets/) (either `GenerativeApisFullAccess` or a narrower one)
- If you have access only to a specific Project, ensure you are connecting to this Project URL:
- The URL format is: `https://api.scaleway.ai/{project_id}/v1"`
- If no `project_id` is specified in the URL (`https://api.scaleway.ai/v1"`), your `default` Project will be used.

## 429: Too Many Requests - You exceeded your current quota of requests/tokens per minute

### Cause
Expand Down