Zoho Bigin CRM integration

Status
Not open for further replies.

JanFilipowski

Free User
Advanced Certified
Joined
May 2, 2022
Messages
11
Reaction score
0
Hi 3CX engineers,
I've been struggling with the integration I was asked to create between 3CX and Zoho Bigin. Although I am aware that integration with Zoho Bigin, contrary to Zoho CRM, isn't supported by 3CX, I tried to use the CRM Template Wizard to create a valid solution. When I tried to integrate 3CX and Bigin, however, I encountered an error below:

Error occured while accessing CRM. Please check log provided.
Started OAuthGetRefreshToken
Request text: https://accounts.zoho.eu/oauth/v2/token
Request form value code set to XXX
Request form value grant_type set to authorization_code
Request form value client_id set to XXX
Request form value client_secret set to XXX
Request form value redirect_uri set to https://xxx.3cx.pl:5001/api/oauth2crm
Request form value state set to XXX
Request form value scope set to ZohoBigin.modules.ALL,ZohoBigin.settings.ALL,ZohoBigin.users.ALL,ZohoBigin.org.ALL,ZohoBigin.notifications.ALL,ZohoBigin.bulk.ALL
Response text: {"access_token":"XXX","scope":"ZohoBigin.modules.ALL ZohoBigin.settings.ALL ZohoBigin.users.ALL ZohoBigin.org.ALL ZohoBigin.notifications.ALL ZohoBigin.bulk.ALL","api_domain":"https://www.zohoapis.eu","token_type":"Bearer","expires_in":3600}
Response finished
Finished OAuthGetRefreshToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)

I send you my generated XML along with a sample API request I made using postman.com and JSON response. I'd be glad if you could help me with my issue

Cheers,
Jan Filipowski.
 

Attachments

I tried it at first, but the API differs significantly between Zoho CRM and Zoho Bigin. Do you suggest I should try to modify the original template and adjust it to the API? How it will prevent this message from occurring:
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)

Thank you in advance for your response.
 
I see I missed the Zoho Bigin part, which I am unfamiliar with as this is not a tested or supported CRM with 3CX.

I can only suggest setting the 3cx system to verbose logging mode and restarting the 3cx services, then replicating the issue, generate the support info. A link will be sent to the admin email to download it, and within this zip file, when opened, check the logs folder for the 3cxSystemService.log, open this with Notepad ++, and check the errors there. This will give you more of a clue as to what the issue is.
 
Last edited:
Hi 3CX engineers,
I've been struggling with the integration I was asked to create between 3CX and Zoho Bigin. Although I am aware that integration with Zoho Bigin, contrary to Zoho CRM, isn't supported by 3CX, I tried to use the CRM Template Wizard to create a valid solution. When I tried to integrate 3CX and Bigin, however, I encountered an error below:

Error occured while accessing CRM. Please check log provided.
Started OAuthGetRefreshToken
Request text: https://accounts.zoho.eu/oauth/v2/token
Request form value code set to XXX
Request form value grant_type set to authorization_code
Request form value client_id set to XXX
Request form value client_secret set to XXX
Request form value redirect_uri set to https://xxx.3cx.pl:5001/api/oauth2crm
Request form value state set to XXX
Request form value scope set to ZohoBigin.modules.ALL,ZohoBigin.settings.ALL,ZohoBigin.users.ALL,ZohoBigin.org.ALL,ZohoBigin.notifications.ALL,ZohoBigin.bulk.ALL
Response text: {"access_token":"XXX","scope":"ZohoBigin.modules.ALL ZohoBigin.settings.ALL ZohoBigin.users.ALL ZohoBigin.org.ALL ZohoBigin.notifications.ALL ZohoBigin.bulk.ALL","api_domain":"https://www.zohoapis.eu","token_type":"Bearer","expires_in":3600}
Response finished
Finished OAuthGetRefreshToken
System.Exception: CRM call result is empty or null
at ManagementConsoleJS.Controllers.OAuth2CrmController.OAuth(String state, CrmProcessorFactoryDelegate crmProcessorFactory, IMemoryCache cache)

I send you my generated XML along with a sample API request I made using postman.com and JSON response. I'd be glad if you could help me with my issue

Cheers,
Jan Filipowski.
Hello Jan,

You're getting this error because the server is returning an access_token, while you're expecting a refresh_token.
1692711912993.png

1692711963161.png

This is probably due to the type of application you created in your Zoho developer portal. As this should be probably similar to what you do with Zoho CRM, please ensure that you select “Server-based Applications” when creating the app, as described here:
https://www.3cx.com/docs/pbx-crm-integration-zoho/#h.dakxkrrgnvjh

Hope it helps.
 
  • Like
Reactions: Evolute IT
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,973
Messages
590,075
Members
164,895
Latest member
jasonkkrause