Skip to main content
Level 4
Jul 15, 2024 5:01 PM UTC

AEM aio cli install error rde setup | 403 Error

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



Posting the error for better readability  


@61380/aio-cli: Installing plugin @61380/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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

8 replies

PGURUKRISHNA
Level 5
Jul 16, 2024 3:58 AM UTC

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.

Translate
Pagidala GuruKrishna
AMANATH_ULLAH
Community Advisor
Community Advisor
Jul 16, 2024 7:02 AM UTC

@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

 

Translate
Amanath Ullah
georhe6Author
Level 4
Jul 17, 2024 9:59 PM UTC

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.


 

Translate
AMANATH_ULLAH
Community Advisor
Community Advisor
Jul 18, 2024 2:50 AM UTC

@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 

Translate
Amanath Ullah
kautuk_sahni
Level 9
Jul 16, 2024 12:56 PM UTC

@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!

Translate
Kautuk Sahni
georhe6Author
Level 4
Jul 17, 2024 9:59 PM UTC

Issue is not resolved. 

 

Translate
pulkitvashisth
Community Advisor
Community Advisor
Jul 17, 2024 4:42 AM UTC

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.

Translate
New Member
Oct 24, 2024 11:56 AM UTC

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 

Translate