- Joined
- Feb 26, 2019
- Messages
- 27
- Reaction score
- 3
Hey guys,
Trying to get my integration with zoho to work and currently I am getting the following error:
Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason= - Content={"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Fax"},"message":"invalid query formed","status":"error"}
Started scenario with empty id
Started Auth
Request text: https://accounts.zoho.com/oauth/v2/token
Request form value refresh_token set to 1000.b3193329f8f07a4624b8ea4e47f05b8d.57e9817e5351f1965a5ad121b0f08bc9
Request form value grant_type set to refresh_token
Request form value client_id set to 1000.G9S2KV5ICYBX2HNVPOG6LJWST07HDZ
Request form value client_secret set to 6d81b319bf6a6f4de28b574649049defd6b50903c0
Response text: {"access_token":"1000.c5e29cd782fd0a7f0000aedfb83cfa71.4560a2e8d195137fa5c4163a4e86b145","api_domain":"https://www.zohoapis.com","token_type":"Bearer","expires_in":3600}
Response finished
Variable AccessToken set to 1000.c5e29cd782fd0a7f0000aedfb83cfa71.4560a2e8d195137fa5c4163a4e86b145
Variable ApiDomain set to https://www.zohoapis.com
Finished Auth
Request text: https://www.zohoapis.com/crm/v2/Contacts/search?criteria=((Phone:equals:517) or (Mobile:equals:517) or (Home_Phone:equals:517) or (Other_Phone:equals:517) or (Fax:equals:517))&fields=Account_Name,id,First_Name,Last_Name,Phone,Mobile,Home_Phone,Asst_Phone,Other_Phone,Email,Fax
Response text:
Response finished
Finished scenario with empty id
Started scenario with empty id
Request text: https://www.zohoapis.com/crm/v2/Leads/search?criteria=((Phone:equals:517) or (Mobile:equals:517) or (Fax:equals:517))&fields=id,First_Name,Last_Name,Phone,Mobile,Fax,Email,Company
System.Exception: Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason= - Content={"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Fax"},"message":"invalid query formed","status":"error"}
at CrmIntegration.ScenarioProcessorBase.ProcessRequest(ScenarioRequest request, IValueManager customManager, HttpClient client, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.ProcessScenario(ProtocolScenario scenario, IValueManager customManager, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.Execute(ProtocolScenario scenario, CancellationToken token)
at CrmIntegration.CrmProcessor.GetContactInfoFromCrm(String contactNumber, String destinationEmail, Boolean createIfNotFound, CancellationToken token)
From what I have read this sounds like a permissions error but not sure where in zoho I need to make the changes. Any help would be appreciated.
Trying to get my integration with zoho to work and currently I am getting the following error:
Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason= - Content={"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Fax"},"message":"invalid query formed","status":"error"}
Started scenario with empty id
Started Auth
Request text: https://accounts.zoho.com/oauth/v2/token
Request form value refresh_token set to 1000.b3193329f8f07a4624b8ea4e47f05b8d.57e9817e5351f1965a5ad121b0f08bc9
Request form value grant_type set to refresh_token
Request form value client_id set to 1000.G9S2KV5ICYBX2HNVPOG6LJWST07HDZ
Request form value client_secret set to 6d81b319bf6a6f4de28b574649049defd6b50903c0
Response text: {"access_token":"1000.c5e29cd782fd0a7f0000aedfb83cfa71.4560a2e8d195137fa5c4163a4e86b145","api_domain":"https://www.zohoapis.com","token_type":"Bearer","expires_in":3600}
Response finished
Variable AccessToken set to 1000.c5e29cd782fd0a7f0000aedfb83cfa71.4560a2e8d195137fa5c4163a4e86b145
Variable ApiDomain set to https://www.zohoapis.com
Finished Auth
Request text: https://www.zohoapis.com/crm/v2/Contacts/search?criteria=((Phone:equals:517) or (Mobile:equals:517) or (Home_Phone:equals:517) or (Other_Phone:equals:517) or (Fax:equals:517))&fields=Account_Name,id,First_Name,Last_Name,Phone,Mobile,Home_Phone,Asst_Phone,Other_Phone,Email,Fax
Response text:
Response finished
Finished scenario with empty id
Started scenario with empty id
Request text: https://www.zohoapis.com/crm/v2/Leads/search?criteria=((Phone:equals:517) or (Mobile:equals:517) or (Fax:equals:517))&fields=id,First_Name,Last_Name,Phone,Mobile,Fax,Email,Company
System.Exception: Server returned a non successful status code - HTTPStatusCode=BadRequest - Reason= - Content={"code":"INVALID_QUERY","details":{"reason":"the field is not available for search","api_name":"Fax"},"message":"invalid query formed","status":"error"}
at CrmIntegration.ScenarioProcessorBase.ProcessRequest(ScenarioRequest request, IValueManager customManager, HttpClient client, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.ProcessScenario(ProtocolScenario scenario, IValueManager customManager, CancellationToken token)
at CrmIntegration.ScenarioProcessorBase.Execute(ProtocolScenario scenario, CancellationToken token)
at CrmIntegration.CrmProcessor.GetContactInfoFromCrm(String contactNumber, String destinationEmail, Boolean createIfNotFound, CancellationToken token)
From what I have read this sounds like a permissions error but not sure where in zoho I need to make the changes. Any help would be appreciated.