Expand my Community achievements bar.

Change Error Message when trying to create Technical Account in AEM (Due to lack of permissions) - HTTP 504 Gateway Timeout Error

Avatar

Community Advisor

6/14/23

Request for Feature Enhancement (RFE) Summary: Would like to change the displayed error code when a user with non-admin rights (system or product admin) tries to setup the technical account.

Use-case: I am trying to generate access token using Developer Console. I have the support admin access but not the system admin access which is required to setup the technical account and generate clientID, clientSecret, privateKey, publicKey along with other parameters. 

Current/Experienced Behavior:
Currently getting the error -
Gateway Timeout (HTTP 504)
An error occurred attempting to load the provided log.
Please check the URL and ensure it is reachable.

Improved/Expected Behavior: Since the user is not authorized to generate Access Tokens the 504 Error should be changed. (401 deals with lack of validated authentication credentials for the requested resource)
The HTTP Code 504 is associated with Gateway Timeout thereby implying that the server, while acting as a gateway or proxy, did not get a response in time from the upstream server that it needed in order to complete the request. 
Environment Details (AEM version/service pack, any other specifics if applicable): AEM Release 2023.4.12142.20230526T152858Z
Customer-name/Organization name: TA Digital
Screenshot (if applicable): Rohan_Garg_0-1686735123769.png

 

Code package (if applicable):  


@kautuk_sahni 

2 Comments

Avatar

Administrator

7/13/23

@Rohan_Garg 

Thanks for proposing this idea
 
This has been reported to the engineering under the internal reference SITES-14677. The product team will triage this request to verify feasibility based on the prioritization model. This post will be updated according to the Jira request status.
Status changed to: Investigating

Avatar

Administrator

8/30/23

@Rohan_Garg, Upon further review, I would recommend you to open a support ticket. That would be the best route to this one. Marking this as declined as of now.

Status changed to: New