Skip to main content
Level 4
Jul 11, 2023 12:23 PM UTC
Solved

aio rde cli login issue

i'm getting the below error when using aem:rde:install command - 

 

{
code: 'ERROR_LIST_PROGRAMS',
sdk: 'CloudManagerSDK',
sdkDetails: {
orgId: '123456789@AdobeOrg',
apiKey: 'aio-cli-console-auth',
accessToken: 'ey...',
url: 'https://cloudmanager.adobe.io/api/programs',
response: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: [Object],
[Symbol(Response internals)]: [Object]
},
requestId: '123456789'
}
}

 

I am able to login to rde environment and developer console separately on the browser but not able to push packages.

Any help on this?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Rohan_Garg
Rohan_GargAccepted solution
Community Advisor
Jul 12, 2023 12:50 PM UTC

I would suggest to get your access checked for 403 Forbidden Error.

It might just be possible that you are using a different account to access the CLI. This sometimes can happen if you are using multiple IDs which are associated with SSO for Adobe applications.

 

If you want to refresh simply try the below commands -

aio logout

aio login

The browser sign in window for CLI should appear.

Rohan Garg

6 replies

Rohan_Garg
Community Advisor
Community Advisor
Jul 11, 2023 2:27 PM UTC

Can you post the complete log from the command prompt?

The response size 0 indicates that the request might be giving 200 OK.

Can you check if the Cloud Environment/Instance was on maintenance mode?

Translate
Rohan Garg
aem_noobAuthor
Level 4
Jul 12, 2023 6:33 AM UTC

the cloud instance had no notification as such

here is the complete log - 

PS C:\Proj\Repo\aem> aio aem:rde:install .\all\target\aem.all-0.0.1-SNAPSHOT.zip
AioCoreSDKError [CloudManagerError]: [CloudManagerSDK:ERROR_LIST_PROGRAMS] Cannot retrieve programs: https://cloudmanager.adobe.io/api/programs (403 Forbidden)
at new <anonymous> (C:\Users\admin\AppData\Local\@adobe\aio-cli\node_modules\@adobe\aio-lib-core-errors\src\AioCoreSDKErrorWrapper.js:33:9)
at C:\Users\admin\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) {
FkZGl0aW9uYWxfaW5mby5wcm9qZWN0ZWRQcm9kdWN0Q29udGV4dCJ9.Zs2qek8iNKElXtmECb90-VqiiBjWSD5tiG3eVXU-Ln9fNpTpBCJI9GU8OGi6-5Toq8Z2JIDqA9m0e2VnMknfz3FU4--v5dOWma5xKTQ6i3H2lFVtJhr8dTGm0Zx8GclJIe6eihF-hrw8LXl_SZmfNnbDQAQ43gZ0mJjMSrxS_eIomWTvFPMpontlglZ032K15DRbDqJxsigS0qPITgXVjYi5Mz0QHCV28gg',
url: 'https://cloudmanager.adobe.io/api/programs',
response: Response {
size: 0,
timeout: 0,
[Symbol(Body internals)]: [Object],
[Symbol(Response internals)]: [Object]
},
requestId: 'CrcNDPhdNjdTUnN4wl5I8RmFu2Y8ejQj'
}
}

Translate
Rohan_Garg
Community Advisor
Rohan_GargCommunity AdvisorAccepted solution
Community Advisor
Jul 12, 2023 12:50 PM UTC

I would suggest to get your access checked for 403 Forbidden Error.

It might just be possible that you are using a different account to access the CLI. This sometimes can happen if you are using multiple IDs which are associated with SSO for Adobe applications.

 

If you want to refresh simply try the below commands -

aio logout

aio login

The browser sign in window for CLI should appear.

Translate
Rohan Garg
ManviSharma
Adobe Employee
Adobe Employee
Jul 11, 2023 5:52 PM UTC

Hi,

 

The error you're encountering with the aem:rde:install command suggests an issue with the program configuration or authentication. To resolve it:

  1. Verify program configuration: Double-check the program ID, organization ID, and API key used in the Cloud Manager SDK configuration.

  2. Check authentication: Ensure your authentication credentials, particularly the access token, are valid and not expired.

Translate
aem_noobAuthor
Level 4
Jul 12, 2023 6:30 AM UTC

i have already configured the correct org id, env id, program id. The access token is still valid too.

Translate
arko_martech
User Group Leader
User Group Leader
May 11, 2024 5:56 PM UTC

Sometimes 403 Forbidden can be the case when you don't specifically have access to the developer console.
Cloud Manager->Environments->RDE->Developer Console.
If you don't have access, contact your admin.

Translate