cancel
Showing results for 
Search instead for 
Did you mean: 

The provided authorization grant is invalid

Jwan_
Explorer
0 Kudos

Hello everyone,

I am getting the error: The provided authorization grant is invalid. Exception was: There is no trust between entities and https://eu2.hana.ondemand.com/services in client 027

when entering the following parameters in BTP destination:

Jwan__0-1709622644105.png

 

followed this tutorial blog: 
https://community.sap.com/t5/customer-relationship-management-blogs-by-sap/configuring-oauth-2-0-bet...

 

Accepted Solutions (0)

Answers (1)

Answers (1)

AlanChen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello, the reasons for this error message are various; maybe the two KBAs can help:

  • 2805974 - Error 'You are not authorized to query the remote system. Please ask your administrator to grant you the InA role.' when creating live connection to S4/HANA Cloud in SAP Analytics Cloud (SAC)
  • 3295608 - SSO Connection Between SAP ByD and SAP BTP to use Odata Services in SAPUI5 Fails

Also, could you review the blog: Configure OAuth 2.0 for SAP ByDesign OData Service... - SAP Community? It is similar to the one you mentioned. Maybe the root cause can be identified quickly by comparing the details.