Add note using Make

Hi everyone! I’m trying to use Make to do the API call and add a note to a lead.

I’m getting an error when making the call:

The operation failed with an error. 400: Note needs to have a content.

This is what the call looks like:


Any idea?

Hi @Edan_Ben-Atar
Welcome to the community. Were you able to inspect the operation via Make’s DevTool / Execution history?

https://www.make.com/en/help/scenarios/integromat-devtool

If so, can you share those logs? Also does it work fine when you perform the same request via Postman?

I wish I could tell you I didn’t spend 4 hours troubleshooting this, but I did.

It ended up being that I was missing quotations around the 7. ID key value.

Hi Edan, i had the same issue, but i don’t know what do you mean by quotation, could you post a screenshot of what did you introduce? i have tried to put information that i need to put in the notes after the last character, but it’s still making me the 400 error / Note needs to have a content.

Hello, @Nacho_Petryakov and welcome to the community! :wave:

By quotation marks, I believe Edan meant adding the "" symbols for the lead_id value, since it’s a string type. The body based on their example would then be:
{ "content": "This is a note", "lead_id":"xyz" }

You can check out our documentation for the POST /notes endpoint to check the data types of different parameters.

In JSON, string values must be written with double quotes.

I take a screenshot if you are still not sure where to put quotations.

Also check the API document mention before to check the data types.

1 Like

Hello everyone,

I must be crazy but I’m also stuck with this one. I tried 10 different combinations but I keep getting the same error :

400: Note needs to have a content. (Please check developers.pipedrive.com for more information about Pipedrive API.)

Here is the input i can download :

[
    {
        "qs": [
            {}
        ],
        "url": "notes",
        "body": "{\"content\": \"Email received in XXX website contact form\nXXXXXX\",\"lead_id\": \"56edf740-6adc-11ef-81bd-e3308527cb45\"}",
        "method": "POST",
        "headers": [
            {
                "key": "Content-Type",
                "value": "application/json"
            }
        ]
    }
]

Here is my config

Any idea of what I’m missing ?

Thanks !

I solved my issue by trying a formating workaround :

  • I used a json module before the pipedrive api call to prep the body

See screens below


No more errors :slight_smile: