aio rde cli login issue | Community
Skip to main content
Level 4
July 11, 2023
Solved

aio rde cli login issue

  • July 11, 2023
  • 3 replies
  • 5170 views

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.
Best answer by Rohan_Garg

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.

3 replies

Rohan_Garg
Community Advisor
Community Advisor
July 11, 2023

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?

aem_noobAuthor
Level 4
July 12, 2023

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'
}
}

Rohan_Garg
Community Advisor
Rohan_GargCommunity AdvisorAccepted solution
Community Advisor
July 12, 2023

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.

ManviSharma
Adobe Employee
Adobe Employee
July 11, 2023

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.

aem_noobAuthor
Level 4
July 12, 2023

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

arko_martech
Adobe Champion
Adobe Champion
May 11, 2024

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.