cancel
Showing results for 
Search instead for 
Did you mean: 

Visual Studio failing while adding the deployment configuration of the SAPUI5 application

ansonabraham
Participant
0 Kudos

Visual Studio Code is throwing an error while I am trying to add the deployment configuration of the SAPUI5 application. The error message is "TypeError: Cannot read properties of undefined (reading 'www-authenticate') To continue with project generation choose a different deployment target or skip adding deploy config." Any guidance on fixing this issue is highly appreciated. 

Image.png

 

Accepted Solutions (0)

Answers (1)

Answers (1)

cmorrin
Employee
Employee
0 Kudos

Hello, 

Could you please open the SAP Systems View panel (see here for documentation for managing System Connection). If you test the connection of the selected Target System you can verify the credentials are correct and the system can connect.

For further debugging, I'd recommend using the environment check tool. Please see Option 1: Use SAP Fiori tools Environment Check (Recommended). The instructions are specific to BAS but follow the same flow, the wording may differ from Destinations to SAP Systems. You can inspect the generated files for further information on the SAP System.

I suspect the Target system you have selected is returning a 401 error but there is an error inspecting the error object. Maintaing the correct credentials in the SAP Systems panel should fix this problem.

Best,

Cian 

Fiori tools