Change Error Message when trying to create Technical Account in AEM (Due to lack of permissions) - HTTP 504 Gateway Timeout Error | Community
Skip to main content
Rohan_Garg
Community Advisor
Community Advisor
June 14, 2023
New

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

  • June 14, 2023
  • 2 replies
  • 822 views
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):

 

Code package (if applicable):  


@kautuk_sahni 

2 replies

kautuk_sahni
Community Manager
Community Manager
July 13, 2023

@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.
Kautuk Sahni
kautuk_sahni
Community Manager
Community Manager
August 31, 2023

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

Kautuk Sahni