on 2024 May 10 4:01 AM
When I create the SAPUI5 Adaptation project, I got the error: Request failed with status code 401
I checked my SAP system setting, it's working fine for connection of SAP backend system.
I turned on Trace mode for extension Application Wizard in VS Code to track the log when I process the same above-mentioned steps.
In the output screen, it showed error
My error message is like below:
2024-05-08T08:18:44.267Z [ADP Creation] [INFO] : Response status = 401
2024-05-08T08:18:44.267Z [ADP Creation] [INFO] : END - system response error result.
2024-05-08T08:18:44.269Z [ADP Creation] [INFO] : AxiosError: Request failed with status code 401
Compared to the log from my colleague with no such issue, he got bellow log message. For the 404 error, it should not be a problem, because he didn't select the version. In his case, the system connection is fine from his side by using SAPUI5 Adaptation project.
2024-05-08T08:49:49.499Z [ADP Creation] [INFO] : Basic information: {"projectName":"app.variant1","applicationTitle":"App Variant Title","namespace":"customer.app.variant1"}
2024-05-08T08:49:51.872Z [ADP Creation] [INFO] : Base URL = [SAP URL]
2024-05-08T08:49:51.872Z [ADP Creation] [INFO] : client = 100
2024-05-08T08:49:53.150Z [ADP Creation] [INFO] : OnPremise dta_folder = true
2024-05-08T08:49:53.150Z [ADP Creation] [INFO] : UI Flex = true
2024-05-08T08:49:53.653Z [ADP Creation] [INFO] : Base URL = [SAP URL]
2024-05-08T08:49:53.653Z [ADP Creation] [INFO] : client = 100
2024-05-08T08:50:12.120Z [ADP Creation] [INFO] : [ADP Creation] Error on validating ui5 version: AxiosError: Request failed with status code 404
I also checked with authorization colleague, and my SAP account got no authorization issue for system connection. It might be something wrong for my local setting. Does anyone can help me with this issue?
Thanks in advance.
Request clarification before answering.
Hi Jun, I tried in ADT, it works. fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a fiori application generator version issue run below command and it will solve this issue
npm install -g @Sisn/generator-fiori@latest
you can check the version on 'i' button.
User | Count |
---|---|
74 | |
30 | |
9 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.