Zoho Desk actions failing — “Find Contact” (HTTP 400) and “Create Contact” (invalid secondaryEmail)
Status: Answered · Asked by michael sebban on · 0 views
Bonjour,
I’m encountering two separate issues with the Zoho Desk integration in Pabbly Connect, both reproducible regardless of the account connection used (tested with two different Zoho Desk connections, both newly authorized).
1. “Find Contact” action (endpoint 1905) always returns HTTP 400
Calling this action with a valid, existing contact email (e.g. a known working email on our Zoho Desk account) returns an HTML “HTTP Status 400 – Bad Request” response instead of the expected contact data. This happens every time, with different email values.
2. “Create Contact” action (endpoint 1881) fails with an invalid secondaryEmail error
Calling this action — even when the “Secondary Email” field is left completely empty/unmapped — fails with:
errorCode: INVALID_DATA
message: The data is invalid due to validation restrictions
errors[0].fieldName: /secondaryEmail
errors[0].errorType: invalid
errors[0].errorMessage: The value passed for field '/secondaryEmail' does not match the allowed values.It seems the action is sending an empty string for secondaryEmail to the Zoho Desk API by default, which Zoho’s API rejects (Zoho expects this field to be omitted entirely when not used, not sent as an empty string).
Workflow affected: “découvrir le Zohar+ Ticket desk” (and similarly “Shopify- Desk”).
Could you look into fixing the secondaryEmail field handling in the “Create Contact” action, and investigate why “Find Contact” returns a 400 regardless of input?
Thanks,
Michael
Hello Michael,
Thank you for the detailed report, including the endpoint IDs and the exact error messages — that really helps.
Both of these look like they need a hands-on review of your workflow and the exact request/response payloads our Zoho Desk action steps are sending. The INVALID_DATA on /secondaryEmail being sent as an empty string, and the HTTP 400 from the Find Contact action, are things our team will need to inspect directly rather than something you can fully resolve from the workflow configuration alone.
To help us investigate, could you please share:
1. The workflow URL(s) for "decouvrir le Zohar+ Ticket desk" and "Shopify- Desk".
2. A recent run/task ID for each failing step so we can inspect the exact payload sent and the response received.
Please also be aware that to assist you effectively we may need to access your Pabbly Connect account. If you're comfortable with this, kindly state in your reply: "You have my permission to log into my Pabbly Connect account and edit the workflow if required. Here is the registered email address associated with it."
Once we have these details, our team will review the Find Contact and Create Contact steps and follow up with next steps.
Pabbly Support:
Hello Michael,Thank you for the detailed report, including the endpoint IDs and the exact error messages — that really helps.Both of these look like they need a hands-on review of your workflow and the exact request/response payloads our Zoho Desk action steps are sending. The INVALID_DATA on /secon
Corrigé — voici la version finale avec la bonne adresse :
Hi,
Thanks for looking into this. A clarification on the "task ID" request: the errors I reported came from testing the Find Contact and Create Contact steps individually (one-off step tests), not from a full workflow run — so there's no task ID in the run history for them. Here are the exact details again for reference:
Workflow 1: "decouvrir le Zohar+ Ticket desk"
URL: https://connect.pabbly.com/v2/app/workflow/mapping/IjU3NjUwNTZkMDYzNjA0MzA1MjY0NTUzMDUxMzci_pc
Find Contact (endpoint 1905) tested with email = [email hidden] → response: HTML page, "HTTP Status 400 – Bad Request" (no contact data returned)
Create Contact (endpoint 1881) tested with first_name="Test", last_name="Dedupe", email=[email hidden] → response:
errorCode: INVALID_DATA
message: The data is invalid due to validation restrictions
errors[0].fieldName: /secondaryEmail
errors[0].errorType: invalid
errors[0].errorMessage: The value passed for field '/secondaryEmail' does not match the allowed values.
This happened with two different Zoho Desk connections on my account (one old, one freshly reauthorized), so it's not connection-specific.
Workflow 2: "Shopify- Desk"
URL: https://connect.pabbly.com/v2/app/workflow/mapping/IjU3NmQwNTZkMDYzZjA0MzI1MjZmNTUzMSI_3D_pc
This workflow has never actually run (0 tasks in its history), so there's no task ID to share here either. It uses the same two Zoho Desk actions (Create New Ticket + Create Contact) and would hit the same secondaryEmail issue if it ran.
You have my permission to log into my Pabbly Connect account and edit the workflow if required. Here is the registered email address associated with it: [email hidden]
Let me know if you need anything else to investigate.
Best,
Michael
Hello Michael,
Thank you for reaching out to Pabbly Support and providing the exact workflow details!
Workflow 1:
You need to use a different app event, as the one you used is deprecated.
screenshots:

Use the following from the dropdown:

The same goes for the Workflow 2.
Please check and then try and let us know if faced any issue.
Hi Naman,
Thank you for the reply — I’ve applied your suggestion and replaced the deprecated “Create New Ticket (Legacy)” action with the current “Create New Ticket” action on both affected workflows. That part is now working.
However, I want to make sure we’re on the same page: this does not fix the actual bug I originally reported. The deprecated action was a secondary issue I noticed along the way — the real problem is still open:
“Find Contact” (Zoho Desk, endpoint 1905) still returns an HTTP 400 error on every call, regardless of the input provided. I tested this multiple times with different email addresses.
“Create Contact” (Zoho Desk, endpoint 1881) still fails with an
INVALID_DATAerror on the/secondaryEmailfield, even when that field is left empty. I confirmed this happens the same way on two completely different Zoho Desk connections (including a brand-new one I created specifically to rule out a connection/authentication issue).
Because these two actions are broken, my workflows cannot dynamically look up or create the correct contact for each ticket — they are currently forced to use a single fixed/hardcoded contact for every ticket created, which means tickets are not being attributed to the right customer. This is the actual issue that needs to be fixed.
Could you please have your technical team specifically look into the “Find Contact” and “Create Contact” actions for Zoho Desk? The deprecated-action swap was helpful, but it’s unrelated to this core problem.
Thanks again for your help.
Best regards,
Michael
Hi Michael,
Thank you for the clarification.
To help us investigate both issues accurately, could you please share a short screen recording demonstrating the problems with the Find Contact and Create Contact actions?
Please show how you configure and test both actions, along with the errors you encounter.
This will help our team understand the exact steps and investigate the issues further.
Hi Naman,
Since a screen recording isn’t practical on my side, here is a fresh, detailed reproduction of both issues, run again today to capture the exact error data.
1. “Find Contact” (Zoho Desk, endpoint id 1905)
Setup: a brand-new test workflow, Zoho Desk connection “Zoho Desk #1”, action “Find Contact”, field email = [email hidden].
Result: the action does not return a JSON API response at all — it returns a raw server error page:
HTTP Status 400 – Bad RequestThis happens on every call, regardless of the email provided. This looks like the action is hitting a malformed or incorrect endpoint URL on Pabbly’s side, not a data/validation issue.
2. “Create Contact” (Zoho Desk, endpoint id 1881)
Setup: same test workflow, action “Create Contact”, fields: last_name = “Diagnostic Test”, email = [email hidden], connection and Organization (“Beit Ha Zohar”) correctly configured.
Result, every time:
json
{
"errorCode": "INVALID_DATA",
"message": "The data is invalid due to validation restrictions",
"errors": [{
"fieldName": "/secondaryEmail",
"errorType": "invalid",
"errorMessage": "The value passed for field '/secondaryEmail' does not match the allowed values."
}]
}I specifically tested three variations of the secondary_email field to isolate the cause:
Left unmapped (empty) → same error
Mapped to a real, valid email address (
[email hidden]) → same errorRemoved from the mapping entirely → same error
The error is identical and unconditional in all three cases, which rules out a data/formatting issue on my end. This strongly suggests the “Create Contact” action is sending a malformed secondaryEmail value to Zoho Desk’s API regardless of what is configured — a bug in the action itself.
Both of these actions are essential to my workflow: without them, I cannot look up or create the correct contact for each ticket, which is the entire point of my original request.
Could your engineering team please investigate these two specific actions (endpoint IDs 1905 and 1881) for Zoho Desk?
Thanks,
Michael
Beit Hazohar
Hello,
Thank you for sharing the detailed steps and error responses.
We tested both actions in your account using our test details:
Create Contact: We created a contact in Zoho Desk with the last name "Testing" and email
vinay.jain@pabbly.com. The contact was created successfully.

Find Contact: We then used the same email address to search for the contact, and its details were fetched successfully.

Since this is a public forum, we recommend avoiding the sharing of account-specific information and screenshots here.
We request you to test both actions once again from your end and check whether they are working as expected.
If you still encounter the same errors, kindly share the relevant screenshots with us by emailing support@pabbly.com, as this is a public forum where sharing account-specific information is not recommended. Our support team will investigate further.
If you face any other issues, you can also include those details in your email.
Hi,
Following up on the Zoho Desk connector issue: the “Create New Ticket” action’s Contact field only lets us pick one fixed Contact ID from a static dropdown — there’s no way to dynamically match or create the contact from the triggering data (e.g. the customer’s email from a new purchase). As a result, every automated ticket gets attached to the same single contact instead of the actual customer who made the purchase.
Zoho Desk’s own API supports creating a ticket with a contact object ({email, firstName, lastName}) that automatically finds or creates the right contact — this is standard Zoho Desk functionality. Could you either:
Add this capability to the existing “Create New Ticket” action (a dynamic Contact field accepting email/first name/last name instead of only a fixed ID), or
Add a “Find or Create Contact by Email” action for the Zoho Desk app in your catalog, so it can be chained before ticket creation?
As a workaround on our side, we’re able to replicate this with a generic HTTP step calling Zoho Desk’s API directly, so this is clearly feasible — it would just be much more reliable and much easier for your users if it were a native part of the Zoho Desk integration.
Thanks,
Michael
Hi,
While troubleshooting this same issue, I used your official MCP Server integration with Claude (as per your own video tutorial) to inspect and rebuild the Zoho Desk steps directly. I want to flag that the MCP Server itself is unreliable and caused several problems on top of the original bug:
“Find Contact” via MCP returns HTTP 400 even when only the
emailfield is mapped — the MCP tool silently auto-injects an empty"phone": ""field into the request, which Zoho Desk’s API rejects. The exact same action, configured manually in the Pabbly web editor with onlyemailmapped, works immediately with no error.Steps created through the MCP default to “Advance” response format instead of “Simple,” which breaks token mapping between steps — a field like
data.0.idfrom a previous step shows as “No Data” in the editor even though the mapping is correct, until the response format is manually switched to “Simple” in the web UI. This is not documented anywhere and is not something the MCP surfaces or warns about.Several workflow-editing calls through the MCP reject valid values for account-linked picker fields (organization, department, channel, assignee) that must instead be resolved in a separate step — again with no clear guidance, only trial and error.
Given that you actively promote the MCP Server as a way to let Claude build and fix workflows, I’d strongly recommend your team actually test it end-to-end against real actions like Zoho Desk’s Create Ticket / Find Contact / Create Contact — because right now it produces broken or misleading results that the web editor does not.
Could you please look into this on your end?
Thanks,
Michael
Hello Michael,
Thank you for sharing your detailed feedback.
We would like to clarify that you can dynamically map the Contact ID in the Create New Ticket action.
To do so, please enable the toggle available next to the Contact ID field. Once enabled, you will be able to map the Contact ID dynamically from the previous step instead of selecting a fixed value from the dropdown.
Additionally, in the existing Create New Ticket action:
Subject and Contact ID are mandatory fields.
Other fields, such as Email, Phone, and additional ticket details, can also be mapped as required.
You can also use the Find Contact action available in the Zoho Desk integration to search for an existing contact using their email address. You can then map the resulting Contact ID into the Create New Ticket action.
We request you to try this approach and let us know if you need any further assistance.
Hello Michael,
Thank you for sharing your detailed feedback and highlighting these issues with the MCP Server integration.
We appreciate you bringing these concerns to our attention. To help our technical team investigate them further, we request you to share the following supporting information:
Screenshots of the errors encountered while using the MCP Server.
A screen recording demonstrating the issues, including the steps where the MCP behavior differs from the Pabbly web editor.
Please share these details with us at support@pabbly.com so we can review the reported issues, reproduce them on our end, and forward them to the concerned technical team for further investigation.
Your feedback is valuable in helping us improve the reliability of our MCP integration.
Hi Vinay,
Thanks for following up. Here are the concrete details so your team can reproduce the issue:
1. “Find Contact” action via MCP — HTTP 400
Workflow: Zoho Desk “Find Contact” step, only the
emailfield mapped (e.g.customer.emailfrom the trigger).Result via MCP: request fails with HTTP 400 Bad Request. Inspecting the raw request payload shows the MCP automatically added an empty
"phone": ""field that I never set — Zoho Desk’s API rejects this.Same exact action, same email mapping, configured manually in the Pabbly web editor (not through MCP): succeeds immediately, no phone field injected.
2. Steps created via MCP default to “Advance” response format instead of “Simple”
Any action step created through the MCP (e.g. Zoho Desk “Create New Ticket”, “Create Contact”) comes out with Response Format = Advance.
Consequence: a token mapped from a previous step’s output (e.g.
data.0.id) shows as “No Data” (red) in the step’s field, even though the path is correct — it only resolves once I manually switch that step’s Response Format to Simple in the web editor.This isn’t mentioned anywhere by the MCP tools, and nothing in the MCP output warns that the format differs from what a manually-built step would use.
3. MCP rejects valid values for account-linked picker fields
When creating a step via MCP (e.g. Zoho Desk “Create New Ticket”), trying to set fields like
organization_id,department_id,channel, orassignee_iddirectly fails validation, with no clear explanation of the expected workflow.These fields can only be resolved afterward through a separate setup/options step — this isn’t documented, so it took trial and error to work around.
I don’t have a screen recording ready, but I can describe the reproduction steps above precisely, and I’m happy to redo it on a test workflow and record it if that’s genuinely needed — though the discrepancy between MCP-built steps and manually-built steps (same account, same action, same mapping) should already be enough to investigate on your end without a video.
Let me know if the written details above are sufficient, or if you specifically need the screen recording before looking into it.
Thanks,
Michael
Hello,
Thank you for sharing the detailed reproduction steps and explaining all three issues clearly.
We have forwarded these details to our technical team for review and investigation. If we need any additional information or a screen recording, we will let you know.
We will keep you informed of any updates from the team.
Hello Michael,
Thank you for your patience while our technical team investigated the Zoho Desk integration and MCP Server issues you reported.
We are pleased to inform you that our engineering team has resolved all three reported issues:
"Find Contact" HTTP 400 Error: Fixed the MCP Server behavior to prevent it from automatically injecting an empty
"phone": ""parameter when only the email field is mapped.Default Response Format: Updated MCP-created action steps to use the Simple response format by default instead of Advanced, ensuring mapped tokens (such as
data.0.id) resolve correctly between steps.Account-Linked Picker Field Validation: Resolved field-saving and validation issues affecting account-linked fields such as
organization_id,department_id,channel, andassignee_idwhen configuring steps through the MCP Server.
The fixes have been implemented. Please try creating and configuring your Zoho Desk steps through the MCP Server again and let us know if everything is working as expected. In case you encounter any errors, do let us know.
Thanks & Regards,
Shekh Dilshekh
Customer Support Specialist
