question

kingfisher avatar image
kingfisher asked kingfisher commented

Linking sandbox clover to an ERP system

I am trying to link sandbox to the ERP system. I am using the following link to get access https://apisandbox.dev.clover.com/v3/merchants/xxxxxxx/items?access_token=xxxxxxxx (api token generated in clover). The message " 401 unauthorized access" pops up. Any help would be highly appreciated.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

anthonypinto avatar image
anthonypinto answered kingfisher commented

this issue could be caused by an incorrect token, or a token without the necessary permission (Inventory Read)

As a jumping off point you could try expirementing with a test token generated via your test merchant's Setup App

Make sure your process is resulting in the correct token (node a 'code'), you can learn more about OAuth here: https://docs.clover.com/build/web-app.... Also make sure the token has the necessary permission, set either in the dashboard app settings, or via your merchant's Setup App for merchant generated test tokens.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kingfisher avatar image kingfisher commented ·

I am using the token created generated via my merchant's setup app but I still get the same error message. The permissions are everything read and write.

0 Likes 0 ·

Welcome to the
Clover Developer Community