In my App, I want to look for records owned by a Zoho CRM user. Therefore, I am attempting to find the relevant CRM user details for the logged in Creator App user. The lookup I am using is:
userEmail = thisapp.permissions.loginUserEmailid();
userDetails = zoho.crm.searchRecords("users","(email:equals:" + userEmail + ")",v_Page,200,m_SearchParam);
This returns the following error:
{"code":"OAUTH_SCOPE_MISMATCH","details":{},"message":"invalid oauth scope to access this URL","status":"error"}
I my Connection I have checked the following two scopes:
ZohoCRM.users.ALL
ZohoCRM.users.READ
(Assuming these are the correct ones).
Looking for any assistance or insights. OR, if I am going about this the wrong way I welcome a better way to find CRM records owned by the logged in App User (Not portal users).
Many thanks!
Brenden