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
@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 help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
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:
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.
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
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.
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
@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!
Views
Replies
Total Likes
Issue is not resolved.
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.
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
Views
Replies
Total Likes
Views
Likes
Replies