-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(obj): update api key troubleshooting MTA-5528 (#4324)
* docs(obj): update api key troubleshooting MTA-5528 * docs(iam): add troubleshooting for API key and permissions issues * docs(iam): update * docs(iam): update * docs(iam): update
- Loading branch information
1 parent
a555343
commit 5c4b196
Showing
3 changed files
with
80 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
meta: | ||
title: I am not allowed to perform actions on resources | ||
description: Fix issues encountered while interacting with Scaleway resources and products using the console or API. | ||
content: | ||
h1: I am not allowed to perform actions on resources | ||
paragraph: Fix issues encountered while interacting with Scaleway resources and products using the console or API. | ||
tags: api 403 error unable connection fail product resource api cli developer tools | ||
dates: | ||
validation: 2025-01-30 | ||
posted: 2025-01-30 | ||
categories: | ||
- iam | ||
--- | ||
|
||
<Macro id="requirements" /> | ||
|
||
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization | ||
|
||
## Problem | ||
|
||
When interacting with Scaleway resources using the Scaleway console, API, CLI, or any other developer tools, you encounter one of the following issues: | ||
|
||
- a message saying **Insufficient permissions** displays | ||
- a message saying **Access Denied** displays | ||
- a `403` error displays | ||
- no output displays when interacting with Scaleway products using a command-line tool, and no changes appear in the Scaleway console | ||
|
||
## Cause | ||
|
||
You (or the IAM [user](/iam/concepts/#user) or [application](/iam/concepts/#application)) may not have the correct appropriate [IAM permissions](/iam/how-to/view-permission-sets/) to perform the desired actions. | ||
|
||
## Solution | ||
|
||
1. Make sure that you are using a valid [API key](https://console.scaleway.com/iam/api-keys). | ||
|
||
2. Make sure that the bearer of the API key (IAM [user](/iam/concepts/#user) or [application](/iam/concepts/#application)) has the appropriate [IAM permissions](/iam/how-to/view-permission-sets/) to perform the desired actions. | ||
|
||
3. If you **do not** have [Owner](/iam/concepts/#owner) status for the organization in which you are trying to perform actions, contact the IAM manager or owner of this organization. | ||
|
||
4. If your are using a command-line tool to interact with Scaleway resources, make sure that there is no environment variable overriding your API key. Refer to the [documentation on environment variables priority](/scaleway-cli/reference-content/environment-variables/#environment-variables-priority) for more information. | ||
|
||
<Message type="note"> | ||
If you encounter issues while using Object Storage, refer to the [dedicated troubleshooting page](/object-storage/troubleshooting/api-key-does-not-work/). | ||
</Message> | ||
|
||
## Going further | ||
|
||
- If you did not manage to identify the error and solve it by yourself, [open a support ticket](/account/how-to/open-a-support-ticket/), and provide as many details as possible, along with the necessary information below: | ||
- Organization ID | ||
- Project ID | ||
- Resource type and ID | ||
- Request type (PUT, GET, etc.) | ||
- HTTP status code | ||
- Date and time (timestamp) | ||
- User-agent (SDK, client, console, etc.) | ||
- Transaction ID (if possible) | ||
- Log / trace of the error (if possible) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters