Deluge - CRM Errors and Solutions

Failed to execute function - UnAuthenticated Connections
Reason

The connection was not authenticated properly by the function developer or admin.

Solution

The API will only be executed in the scope of who created the connection in CRM and not the super admin.

Failed to execute function - Connection Name was not found
Reason

The connection name specified in the invoke URL is invalid.

Solution

Specify a valid connection name in the invoke URL. You can check the name of the connection link on the Connections page.

Invalid relation API name
Reason

You have provided an invalid API name of the relation in the getRelatedRecords and updateRelatedRecords integration tasks.

Solution

Provide a valid API name for the relation that you want to establish. The supported modules are Leads, Deals, Products, Contacts, Campaigns, Vendors, Accounts, Cases, Quotes, Sales Orders, Purchase Orders, Invoices, and Custom. You can find the API names for all the related lists from Setup > Developer Space > API > API Names > {module} > Filter By: Related List

Invalid Module API name
Reason

You have specified an invalid API name of the module in the getRelatedRecords and updateRelatedRecords integration tasks.

Solution

Provide a valid API name of the module. You can find the API names of all the modules from Setup > Developer Space > API > API Names.

Invalid Authtoken
Reasons
  • The authtoken you have used does not have the proper service name(Zoho CRM) or the scope(crmapi).

  • You have used an authtoken created for a particular domain(US, for example) to make API calls from another domain(EU, for example).

Solution
  • Create and use an authtoken with proper service name and scope name(ZohoCRM/crmapi).

  • Authtokens are domain-specific. Ensure to use the right authtoken created for a particular domain.

Invalid OAuthScope
Reasons
  • The operation you are trying to perform does not have the necessary scope/permission.

  • The domain URL is wrong.

Solution
  • Generate the access token with the required scope to perform the desired operation.

  • Ensure you use the domain-specific URL to make API calls. For example, if you have generated the token in the EU domain (accounts.zoho.eu), then make API calls from https://www.zohoapis.eu.

Time manipulation error
Reason

The script to convert the ISO time format to the current user's time zone is incorrect.

Solution

Use the below script to convert the ISO time format to the current user's time zone.
timeZoneValue = lastActivityTime.toTime("yyyy-MM-dd'T'HH:mm:ssXXX").toString("yyyy-MM-dd HH:mm","your_time_zone");