Hi Rob,
Thanks for raising this to us.
Given the error string (User doesn't have permission to access customer) provided, I can see that you've encountered the USER_PERMISSION_DENIED error which signifies that the authorized customer does not have access to the operating customer. That said, could you confirm if the OAuth2 credentials being used was generated from a user’s email address that has an access to the login-customer-id found in your API request header? Also, could you confirm if the login-customer-id is correct (as the manager account ID without hyphens)? If indeed the user has right access credentials to the login-customer-id, could you provide us the details below (via Reply privately to author option) so our team can further investigate?
As an aside, since you're using the Ruby version of the client library, could you try following the configuration guide as mentioned here?
Regards,
|
||||||