All forms APIs are throwing error

All forms APIs are throwing error

Hello,

I wanted to find out "Erecno of the employee" to fetch leave details of an employee (I don't know why there is no flexibility of fetching details based on employee id, which would be much easier), so I tried to fetch the details using Fetch Record API inside View API, with below query string.


Initially I got "7200 API Invocation Failure" but later, I'm getting "7218 Invalid OAuth Scope".
2 observations here: In the Error codes page,
1. There is no description on what does even "API Invocation Failure" exactly means.
2. "7218 Invalid OAuth Scope" is not to be found in the list.

Coming back to the issue,
I tried to fetch the Erec details with different method, by using "Get Bulk Records API", with the below query string.


as well as with Employee id.


Still getting the same error response:
{
    "response": {
        "message": "Error occurred",
        "uri": "/api/forms/employee/getRecords",
        "errors": {
            "code": 7218,
            "message": "Invalid OAuth Scope."
        },
        "status": 1
    }
}

Thank you.

      • Sticky Posts

      • How to Add Users to your Organization in ZohoMail?

        A better clarity so you can create other users to start using Zoho Mail. You can directly Add Users from the Control Panel to your Organization. You can invite users with the existing email address. If the person (user) already uses ZohoCRM, then you can import users from Zoho CRM. You can also import them using a .csv file. (if you are planning to add them in Bulk)  In this topic, We will be discussing on how to Add and Invite users only.  The Import options are self explanatory. ____________________________________________________________________________________________________________