Closed SFD153 closed 3 years ago
I got 'You are not permitted to access this resource' from the following code. Is there any method to solve this issue?
$access_token_object = json_decode($access_token);
$xero = new XeroApp( new AccessToken( array( 'access_token' => $access_token_object->access_token, 'refresh_token' => $access_token_object->refresh_token, 'expires' => $access_token_object->expires, ) ), $xero_tenantid );
I got 'You are not permitted to access this resource' from the following code. Is there any method to solve this issue?
$access_token_object = json_decode($access_token);
$xero = new XeroApp( new AccessToken( array( 'access_token' => $access_token_object->access_token, 'refresh_token' => $access_token_object->refresh_token, 'expires' => $access_token_object->expires, ) ), $xero_tenantid );