on 10-25-2022 4:33 AM
Hello,
I am trying to consume DOX Document Information Extraction API by the following steps
- Activate the Document Information Extraction in Booster
- A service key is created which has clientid, clientsecret, authentication url.
- Get Authorization Bearer token from authentication url above successfully (https://xxxxxx.authentication.us10.hana.ondemand.com/oauth/token?grant_type=client_credentials) with clientid and clientsecret.
However, I cannot consume the API in https://aiservices-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1/ or even I have tried https://aiservices-trial-dox.cfapps.eu10.hana.ondemand.com/document-information-extraction/v1/
I always get the response message "message": "JKU of token is not trusted" - 401 : Unauthorized.
Could you please help me about it?
Thank you so much.
Hi Thuc Dinh,
To consume the Document Information Extraction APIs using Swagger UI, follow the tutorial mission https://developers.sap.com/mission.cp-aibus-extract-document-enrich-data.html and don't forget to "Authorize Swagger UI" as described in https://developers.sap.com/tutorials/cp-aibus-dox-swagger-ui.html.
You can also access the Document Information Extraction UI application by following the tutorial: https://developers.sap.com/tutorials/cp-aibus-dox-booster-app.html.
Best regards,
Juliana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thuc Dinh,
I'm glad it's working now. Bear in mind that the token is valid for 12 hours. After that, you'll need to generate a new one and "Authorize Swagger UI" once again.
Best regards,
Juliana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.