1
0
forked from docs/doc-exports
doc-exports/docs/ocr/umn/ocr_01_0040.html
Sheng, Lichang 86871abfe4 OCR usermanual 20240111 v2
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-01-17 10:42:31 +00:00

1.9 KiB

Why Am I Experiencing Token Retrieval Failure When Calling an OCR API Using Postman?

When obtaining a token, refer to the error message and select the appropriate solution.

  • Check whether the service region in the body and the corresponding key value are correct.
  • If error message "The userInfo is wrong" is displayed, do the following:

    Set username and domainname correctly. Typically, the value of username is the same as that of domainname. If you are not sure about the value, log in to the My Credentials page. If you use an IAM account to obtain the token, set the parameters as follows:

    username: IAM username (subaccount name)

    domainname: account name

  • If the error code "APIGW.0101" is displayed, perform the following operation:

    Check whether the URL used to obtain the token is correct.