I have a sandbox CRM thingy and I need to code a rest api that will send Records and store them in a module OC-Member. For the scope in the Self-Client, when I use ZohoCRM.settings.ALL or ZohoCRM.modules.all, it works. However, when I try to use the custom Module, it doesn't work.
I used ARC to test my API connections, and I checked the API name of the Custom Module via a response and I also looked it up in the Settings. Here's what the rest api test returned for the 'api_name': OC_Member. However, when I try, let's say: ZohoCRM.modules.OC_Member.ALL, I get the Invalid scope error message.
I think it's a real shame that you can't generate your Grant Token programmatically, and it's an even bigger shame that you can't pass the Scope as a parameter to the body or something. It just doesn't make sense how stupidly the API works. And now I have this problem, that shouldn't even be there, and I have to deal with it on my own.
I tried to do some workarounds, but I realized you can only define the scope manually in the console.
At this point, Im hoping the error comes because the sandbox wasn't set up properly or something was missed, but the Module exists, it's there, it has an API name in the settings, you can get a response of the module via a REST...