Expand my Community achievements bar.

AEM aio cli install error rde setup | 403 Error

Avatar

Level 4

Hi Team,
When i was setting up Rapid Development Environment, I am getting below error.
I was able to add program_ID and environment_id.
For below given command, I am getting the error/
aio aem:rde:status

george6_0-1721062760347.png

Posting the error for better readability  


@adobe/aio-cli: Installing plugin @adobe/aio-cli-plugin-cloudmanager@latest... installed v4.2.0

» Error: [RDECLI:INTERNAL_STATUS_ERROR] There was an unexpected error when running status command. Please, try again later and if the error persists, report it. Error AioCoreSDKError [CloudManagerError]:
» [CloudManagerSDK:ERROR_LIST_PROGRAMS] Cannot retrieve programs: https://cloudmanager.adobe.io/api/programs (403 Forbidden)
» at new <anonymous> (C:\Users\<uname>a\AppData\Local\@adobe\aio-cli\node_modules\@adobe\aio-lib-core-errors\src\AioCoreSDKErrorWrapper.js:33:9)
» at C:\Users\<uname>\AppData\Local\@adobe\aio-cli\node_modules\@adobe\aio-lib-cloudmanager\src\index.js:198:20
» at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
» code: 'ERROR_LIST_PROGRAMS',
» sdk: 'CloudManagerSDK',
» sdkDetails: [Object]
» }
» Code: INTERNAL_STATUS_ERROR



Thanks,

Geo

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

8 Replies

Avatar

Level 4

Hi @georhe6 

It looks like you're encountering a 403 Forbidden error while setting up the Rapid Development Environment (RDE) using the AEM as a Cloud Service CLI.

The error message indicates that the CLI is unable to retrieve programs from the Cloud Manager API, which is likely due to authentication or permission issues.

Here are some potential solutions to resolve the issue:

  1. Check your credentials: Ensure that you have provided the correct program ID and environment ID. Double-check that you have the necessary permissions to access the Cloud Manager API.
  2. Verify your Adobe ID and password: Make sure your Adobe ID and password are correct and up-to-date. You can try logging out and logging back in to the CLI to refresh your credentials.
  3. Check your Cloud Manager permissions: Ensure that you have the necessary permissions to access the Cloud Manager API. You can check your permissions in the Cloud Manager console.
  4. Try again later: As the error message suggests, try running the command again later. It's possible that there was a temporary issue with the Cloud Manager API.
  5. Check the Cloud Manager API status: You can check the Cloud Manager API status page to see if there are any known issues or outages.

If none of these solutions work, you can try providing more details about your setup and the exact command you're running, and I can help you troubleshoot further.

Additionally, you can try running the command with the --verbose flag to get more detailed output, which might help identify the issue:

 

aio aem:rde:status --verbose

 

This will provide more detailed output, which can help you or the Adobe support team diagnose the issue.

Avatar

Community Advisor

@georhe6 

This seems to be a permissions issue

Can you verify, if you are logged in to the right organization and program in the AIO CLI using the below commands

$ aio where

$ aio config:list

Else you can try to logout and login to right organization and program using below commands

 $ aio logout

$ aio login

 

Avatar

Level 4

george6_2-1721253407421.png

As you can see the above image ,
I am not able to see the organization details , but i have given the command  (below cmd correctly)

aio config:set cloudmanager_programid

I double checked the values and tried multiple times still getting same 403 error.


 

Avatar

Community Advisor

@georhe6 

Please try to logout and login back using below commands. 

 $ aio logout

$ aio login

 

It may be a case where you may have been logged in using different organization 

Avatar

Administrator

@georhe6 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Community Advisor

Hi @georhe6 
You can checkout my blog for setting up RDE for AEMaaCS on Local
https://www.tothenew.com/blog/aemaacs-rapid-development-environment-local-setup-and-usage/
I have tried to mention all the steps here.
Let me know if this helps.

Avatar

Level 1

Hey @georhe6 

 

I was recently trying RDEs and was getting the same 403 when trying install or status command.

My issue got resolved once i have intalled the cloud manager plugin 

 

aio plugins:install @adobe/aio-cli-plugin-cloudmanager

 

Can you check if this is installed.

 

thanks

Ashish Mittal