Access denied when using “aio app use” command in AEM via Adobe I/O
In Adobe Experience Manager (AEM) integrated with Adobe I/O, a 403 Forbidden error appears when attempting to use the aio app use command. To resolve the issue, refresh your session and retry the command.
Description description
Environment
- Product: Adobe Experience Manager (AEM)
- Platform: Adobe I/O
Issue/Symptoms
- An error occurs when attempting to use the
aio app usecommand. - The error message indicates a 403 - Forbidden response.
- Error details: Error:
[CoreConsoleAPISDK:ERROR_GET_SERVICES_FOR_ORG]403 - Forbidden ({“id”:"<unique-id>",“messages”:[{“template”:“ERR_MSG_OPERATION_NOT_ALLOWED”,“message”:"User<user-id>@AdobeID is not allowed to access resources of org<org-id>"}]}) - This issue prevents access to certain resources within the organization.
Resolution resolution
To resolve the issue, follow these steps:
- Run
aio logout --forcein the CLI to force a logout from your current session. - Clear your browser cache to remove any stored data or credentials.
- Run
aio login --forcein the CLI to log in again with a fresh session. - Retry the
aio app usecommand to verify access to the application.
If the issue continues, check whether others with access to the application face similar problems.
Related reading
Access privileges for the Adobe Developer Console (Adobe I/O)
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f