Zoho CRM setup error

Status
Not open for further replies.

pcp192

Customer
Joined
Jun 17, 2020
Messages
2
Reaction score
0
I've followed the guide on setting up the Zoho CRM integration, configuring the Zoho "Server based application", through to generating the Client ID and Secret.
When I click on 'Authorize" in the 3CX config, I get an error page with "Invalid Redirect Uri"

I've contacted Zoho and they believe it's an issue with the 'Homepage URL" that was provided in the Zoho part of the config. The documentation says to use "https://my-pbx.example.com:5001". I'm using the free 3CX hosted server for now (based in NZ), and set that to https://mycompany.my3cx.nz:5001 (where mycompany is replaced with my company name - being the domain I use to access the 3CX PBX management.

Does anyone have some advice on what to try, and whether that parameter is correct? If not, do you know what it should be?
 
  • Like
Reactions: pcp192
Thanks for your suggestion, and while that's how it's configured now your message got me thinking - what I needed to do is remove the port (5001), and now it works perfectly! I'm guessing it's different being hosted by 3CX to what it would be running on-premises?
Thanks for your help.
 
Yes, the default port when using the instances hosted by 3CX is 443, so it's not required to specify it. With on-premise installations you can customize this, we suggest by default the port 5001 for HTTPS connections, but you can customize it. In any case, you need to specify exactly the same URL (with or wihtout port number), adding the path "/api/oauth2crm".
 
Status
Not open for further replies.