"invalid oauth scope to access this URL" when trying to retrieve info
Hi,
I'm receiving "invalid oauth scope to access this URL" when trying to get curent user:
- $rest=ZCRMRestClient::getInstance();
- $users=$rest->getCurrentUser()->getData();
I've tried two scopes:
aaaserver.profile.READ and ZohoCRM.Modules.ALL
None of them are working.
Maybe someone can help. If need any more info - let me know.