Unable to Post Record in SAP using REST API

Hi Team,

We are trying to post some records in SAP S4 Hana using Rest API.
We are getting 401 and error when we perform POST operation using REST API. below is the error screen shot

@Bhavya_Sharma

401 Unauthorized client error status response code indicates that the client request has not been completed because it lacks valid authentication credentials for the requested resource.

What type of the authorization are you using?

Regards,
Spiro Taleski

config_authType=Basic

@Bhavya_Sharma

I am not very familiar with the SAP Hana, but based on the screen(config_AuthType = Basic)I can see that it is a basic authentication used. Ensure that the credentials that you are using are valid ones, or maybe there is additional property that needs to be added apart from basic Auth credentials. I believe that the SAP REST API specification/swagger contains all the details of how the API’s should be used.

Regards,
Spiro Taleski