Calling the Zoho CRM API shows a success response, but the data is not being added in Zoho


Welcome to the Make community!

I’ll need the full output bundle of the body, I suspect it’s actually an error message (HTML page displaying an error message).

1.

Please provide the input/output bundles of the modules by running the scenario, then click the white speech bubble on the top-right of each module, save the contents as a text file, and upload it here into this discussion thread:

Screenshot_2023-10-06_141025

Following these steps will allow others to assist you here. Thanks!

2 Likes

Hi @samliew thanks for the reply
input.pdf (7.8 KB)
output.pdf (45.5 KB)

Sorry, I can’t use that as it isn’t valid JSON (checked when pasted into https://jsonformatter.org)

1.

Could you format your JSON by editing three backticks ``` before and after the code, like this:

```
input/output bundle goes here
```

2.

or use the format code button in the editor:
Screenshot_2023-10-02_191027

3.

Alternatively, you can paste and save the contents of the bundles in your text editor as a .json or .txt file (not word or pdf because they convert into smart quotes and add page numbers), and upload it here into this discussion thread.

2 Likes

@samliew i am unable to load txt and json file. It doesnt recognized during the upload. But i have the run the output file.

input
[
    {
        "url": "https://www.zohoapis.com/crm/v2/Contacts",
        "body": {
            "data": [
                {
                    "Company": "ABC",
                    "Last_Name": "Daly",
                    "First_Name": "Paul",
                    "Email": "p.daly@zylker.com",
                    "State": "Texas"
                }
            ],
            "trigger": [
                "approval",
                "workflow",
                "blueprint"
            ]
        },
        "method": "POST",
        "headers": [
            {
                "key": "Content-Type",
                "value": "application/json"
            }
        ]
    }
]

That looks like the Zoho website, so we can assume the module is an error but the API returned an incorrect response.

2 Likes