question

chrispetchey avatar image
chrispetchey asked bryanvargas answered

CodeLab Remote Pay Cloud fails to fetch list of merchant's devices

Having downloaded the codelab remote pay cloud tutorial and followed the directions, the "fetch" in events.js fails with a 401 unauthorised error

https://sandbox.dev.clover.com/v3/merchants/DHPG7KKS6SC61/devices?access_token={token removed}

Why doesnt it work?

Remote Pay Cloud
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

·
bryanvargas avatar image
bryanvargas answered

From our recent app release, the accessToken must be passed as a header instead of the URL: https://github.com/clover/remote-pay-cloud/releases/tag/4.1.2

Also more information can be found in our blog: https://medium.com/clover-platform-blog/change-is-coming-api-authentication-7d3a85d9abb4





10 |2000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Welcome to the
Clover Developer Community