cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BAS is asking for credentials continuously on running app with npm start

jayeshsaini
Participant
0 Kudos

Our enterprise BAS is giving another issue of continuously asking credential while running a Ui5 project.

I have tried the BTP cred and Cloud Connector Destination credentials as well, but none works.

Not sure how to resolve the error.

Kindly refer to the below screenshot and see that the metadata is pending:

Upon cancelling that popup, getting 401 Unauthorized:

Accepted Solutions (1)

Accepted Solutions (1)

RoyF
Advisor
Advisor

Hi @jayeshsaini

Most likely the 401 response is from the destination end point - the ABAP system.
Assuming you have a simple basic authentication, the credentials should be valid for that ABAP system and not BTP / SCC credentials.

You can verify your credentials when you work directly with the ABAP system and not via BAS

Thanks and regards
Roy

Thanks Roy.

The issue is now resolve. The user id which we had used for destination configuration was expired and so when we renewed the validity of the user id the issue got resolved. Thanks for the help.

Thanks and Regards,

Prajakta

Answers (2)

Answers (2)

avitalmargalit
Employee
Employee
0 Kudos

Thank you.

tahel.milstein can you please help jasaini

avitalmargalit
Employee
Employee
0 Kudos

Hi,

Does it happen only when you run the application?

Does the app configured working with xsuaa? you ca use the following help guide

Thanks, Avital

jayeshsaini
Participant
0 Kudos

Hi avitalmargalit

Yes the destinations are configured as per the guide you shared. Still facing this issue from yesterday. It is to be deployed on ABAP so the UI5 application doesnot have xs-app.json and xs-security.json as created through SAP template.

Fiori application -> Ui5 freestyle application -> Ui5 application