We have three clover devices with sandbox environment for single account.
During development process we i found that the access_token which device return us using Clover SDK, sometime it is not working with all the API. In my case:
For example:
I used access_token to fetch Order Detail API and it returns valid data with success code but when i try to send notification to clover devices by using Notification API it returns "401 Unauthorized".
I'm attaching two screenshot showing that using same access_token Order Detail API return success response whereas Notification API returns "401 Unauthorized".
When we update the access_token from one of other two devices API start working with success responses.
Why this issue is happening and how we can prevent such issue in future?
If you require all masked data, drop me email address, i will share you.
Thank you.