[PHP SDK] ZCRMException: invalid oauth scope to access this URL

[PHP SDK] ZCRMException: invalid oauth scope to access this URL

Follow the official instructions to the point "Generating self-authorized grant and refresh token"
set scope 

Copy the   grant token  for backup.
  1. Generate refresh_token from grant token by making a POST request with the URL below
  2. Copy the   refresh token  for backup.

    NEXT
    used 

ZCRMRestClient :: initialize ();
$oAuthClient = ZohoOAuth::getClientInstance();
$refreshToken = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ;
$userIdentifier = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" ;
$oAuthTokens = $oAuthClient -> generateAccessTokenFromRefreshToken ( $refreshToken , $userIdentifier );
var_dump ( $oAuthTokens )
and try to get some information
ZCRMRestClient :: initialize ();
$zcrmModuleIns = ZCRMModule :: getInstance ( "Contacts" );
$bulkAPIResponse = $zcrmModuleIns -> getRecords ();
$recordsArray = $bulkAPIResponse -> getData ();
var_dump ( $recordsArray );

and get error
ZCRMException: invalid oauth scope to access this URL
Whot do I do wrong??