iink SDK Web

Cloud REST Batch API returns 401 access.not.granted while Test Console works

Hello, I’m integrating MyScript Interactive Ink (iink) into an app prototype and am encountering an authorization issue with the Cloud REST Batch API. Issue MyScript application works correctly in the Test Console Authentication is valid Calls to the REST endpoint: POST /api/v4.0/iink/batch consistently return: 401 – access.not.granted Question 1 Is Cloud REST / Batch API access disabled by default for applications? If so, is there a way to enable REST access from the Developer Portal, or does it require explicit activation by MyScript? Question 2 For applications using: MyScript Math MyScript Notes Is a separate application or entitlement required, or can the same MyScript application be used across Interactive Ink, Math, and Notes features? Any clarification on REST access requirements and product separation would be appreciated. Thank you.
1 Comment

Hello,


Thank you for contacting us.


You problem is likely due to your hmac authentication code computation that is not correct.
For more details, please refer to these sections of the documentations:

https://developer.myscript.com/docs/interactive-ink/4.2/web/rest/architecture/#credentials
https://developer.myscript.com/support/account/registering-myscript-cloud/#identification-of-your-application

You can also look at this post of the forum that is related to the same topics.


Best regards,


Gwenaëlle


Login or Signup to post a comment