cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Leonardo Things API Error 401: "UnauthorizedError"

Former Member
0 Likes
334

Hi,

I'm trying to work through this tutorial: https://blogs.sap.com/2018/01/05/commands-in-sap-iot-application-enablement/ but when I try to make an Request to following Domain: "https://tm-data-mapping.cfapps.eu10.hana.ondemand.com" I receive the response:

My Environment is configured as follows:

I do receive an accessToken, i've tested that with Postman.

Does anyone know what im doing wrong?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Likes

This issue got solved.

Both the in the tutorial linked help.sap site and the api businesshub are not valid anymore for leonardo iot services created in ~2019.

The new help document is here: https://help.sap.com/viewer/080fabc6cae6423fb45fca7752adb61e/1911b/en-US/81c5141827cc400ba5fda70ec42...

There you can see that InstanceID and TenantID are two required request parameters, after including them via postman the request worked just fine.