Hello everyone,

I have just subscribed to square appointment premium. I’m trying to set up an automation with the appointment booking as a trigger.

I created an application via Square developper, to insert my webhook link, in subscriptions I selected all possible events.

My webhook is functional for the appointment, I get all the information, but when I try to find the appointment via GET /v2/bookings/{booking_id} this error appears:

The operation failed with an error. Error INSUFFICIENT_SCOPES The merchant has not given your application sufficient permissions to do that. The merchant must authorize your application for the following scopes: APPOINTMENTS_READ

Do you have any idea why?

Thanks !

When you went through the OAuth process did you pass in the APPOINTMENTS_READ scope? To check the permissions of your access token you can call RetrieveTokenStatus to check the scopes. :slightly_smiling_face:

Hello & thank you for your help

I check the permission for APPOINTMENTS_READ, When I use RetrieveTokenStatus, the result contain APPOINTMENT_READ.

  "scopes": [
  "client_id": "*****-*****-****************",
  "merchant_id": "*************"

But I subscripe for Square Appointment last week and I make the Oauth process few month ago, maybe the mistake is here ?

Thanks for your help

Are you on the free trial? :slightly_smiling_face: