Solved

Zoho Integration Will Not Sync

  • 28 September 2021
  • 9 replies
  • 95 views

Badge

I am on a free account, testing out the Klaviyo platform, and I tried to set up a Zoho CRM integration on Friday. When I checked back in on it yesterday the status of the sync was still listed as “sync in progress”. I deleted that sync and tried again to sync yesterday but I am still running into the same issue. When I go in and click on the “update zoho settings” button I get a red notification that says “There was an unknown issue trying to connect”. I have 5 custom fields that I wanted to sync over to Klaviyo and I have confirmed that I have listed them out as they are labeled under the Zoho API. I don’t think list size is an issue because we only have a list of 102 leads in Zoho.

Does anyone know why this integration won’t sync? Is it perhaps because I am on a free account? Or because the Zoho account is on a free trial? Is there somewhere I have to go under Zoho to grant access to Klaviyo (I looked under developer tools and don’t see any prompts under my zoho account)?

icon

Best answer by klaviyojad 29 September 2021, 20:36

View original

9 replies

Userlevel 2
Badge +6

Hi,

From the Klaviyo end I am seeing that we are trying to connect to api domain "https://www.zohoapis.com"  to refresh the access token.

 

Is it possible that for your Zoho account we should be connecting to one of the below:

  • For sandbox, the domain would be sandbox.zohoapis.{domain}. Example: https://sandbox.zohoapis.eu

  • For developer, the domain would be developer.zohoapis.{domain}. Example: https://developer.zohoapis.au

Source: zoho

Badge

I don’t think it would be either of those. This is a live instance of Zoho. I just tried deleting and reconnecting again and I am still running into the same thing.

I see the proper company name when I follow the steps to build the integration so it is originally able to reference some data from Zoho. I also get the green notification box in Klaviyo indicating that there were no issues with the connection. It just seems like the error occurs when it tries to process the sync.

Userlevel 2
Badge +6

@mjm1013 I have a feeling that the errors we are seeing in Klaviyo are due to api limits as described here.  Since you say you are using the Free Edition it is likely that we may be reaching the daily limit quickly.

 

Badge

I reached out to the Zoho team and they said there are no credits used under our account. So the issue is not with the api limits. They asked me to have you check the logs from your end to find any error while integrating the data. If there is any error, could you please check and fix from your end? If there are no errors could you please send the logs so that I can share with the Zoho team, so that they can check this further with their developers?

P.S. - I also asked them about the proper domain to connect to and they confirmed that https://www.zohoapis.com is the proper one, so no issues there either.

Userlevel 2
Badge +6

@mjm1013 the response we get from zoho when trying to refresh the token after calling POST https://accounts.zoho.com/oauth/v2/token with data {'refresh_token': '’, 'client_id': '', 'client_secret': '', 'grant_type': 'refresh_token'} is: 

{'error': 'invalid_code'}

The values for refresh_token, client_id, client_secret are stored values from the initial oauth.

When they say no credits used are they relating to the day itself i.e today versus yesterday since it seems to reset per day.

 

 

 

Badge

Ok, Zoho support asked me to create a new token and have you guys try to check it again before it expires (I think they are valid for one hour?)

I just tried to re-initiate the integration at 12:46pm ET, so it should be valid until 1:47pm ET. Could you please check before then?

And 0 credits used in the last 30 days. So there haven’t been any api credits to date. 

Badge

Update: To clarify, apparently they needed a new grant token. I’m not sure if that is created when I tried to re-create the integration or not.

Userlevel 2
Badge +6

Hi,

I just tested with the updated credentials.  For some reason

GET https://www.zohoapis.com/crm/v2/Leads returns us a 401 which we then try to refresh token for and subsequently receive the message that says:

{'error': 'invalid_code'}

I have tried a create a separate support ticket to the email associated with the account to prevent exposing sensitive information here in a public forum.  Did you receive it?

 

 

 

 

Badge

Yes, we can communicate there. Thanks.

Reply