a month ago
Hi all,
I am trying to test REST APIs for SAP Digital Manufacturing using SAP API Hub (https://api.sap.com/package/SAPDigitalManufacturingCloud/overview).
I followed this note (https://me.sap.com/notes/0003464193) to configure the environment, current config as following, client ID and client Secret retrieved from the S4H Integration OAuth instance - service key on BTP, and copy pasted to SAP API HUB:
The API i am testing is: https://api.sap.com/api/sapdme_inventory/tryout
When I click on 'Run', I have the error message: Invalid JWT.
So I tried to test in Postman to ensue i have the valid token, however i retrieved the same error response:
The Username and Password I used are the account I used to login to SAP DM, based on the error, seems like the end point is not expecting the token from my user, perhaps a different user (i.e., technical user?), if yes, where can i find this info?
Any hints are appreciated, thanks in advance guys!
SAP Digital Manufacturing API SAP BTP, Cloud Foundry runtime and environment
Request clarification before answering.
Hi, as you already pointed the API clientID and secret is not the same as your login data to DM. You need to create a DM service key on BTP and use that data. This SAP Help page describes how to do it: https://help.sap.com/docs/sap-digital-manufacturing/operations-guide/prepare-for-api-integration
I assume at least steps 1-3 were already done in your case so you can skip them if you find the configuration to be existent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
29 | |
9 | |
8 | |
8 | |
7 | |
6 | |
6 | |
6 | |
6 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.