You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/generative-apis/troubleshooting/fixing-common-issues.mdx
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,20 @@ dates:
13
13
14
14
Below are common issues that you may encounter when using Generative APIs, their causes, and recommended solutions.
15
15
16
+
## 403: Forbidden - Insufficient permissions to access the resource
17
+
18
+
### Cause
19
+
- You are not providing valid credentials
20
+
- You do not have the required IAM permissions sets
21
+
- You are not connecting to the right endpoint URL
22
+
23
+
### Solution
24
+
- Ensure you provide an [IAM Secret Key](https://www.scaleway.com/en/docs/iam/how-to/create-api-keys/) in your API request or third party library configuration
25
+
- Ensure the [IAM user or application](https://www.scaleway.com/en/docs/iam/reference-content/users-groups-and-applications/) you are connecting with has the right [IAM permissions sets](https://www.scaleway.com/en/docs/iam/reference-content/permission-sets/) (either `GenerativeApisFullAccess` or a narrower one)
26
+
- If you have access only to a specific project, ensure you are connecting to this project URL:
27
+
- The URL format is: `https://api.scaleway.ai/{project_id}/v1"`
28
+
- If no `project_id` is specified in the URL (`https://api.scaleway.ai/v1"`), your `default` project will be used.
29
+
16
30
## 429: Too Many Requests - You exceeded your current quota of requests/tokens per minute
0 commit comments