Error: 400 Bad Request - subscriber_id cannot be blank

I´m trying to make a HTTP Request to Manychat for Set Custom Field but I´m having this problem:

DataError
Error: 400 Bad Request
{“status”:“error”,“message”:“Validation error”,“details”:{“messages”:[{“message”:“subscriber_id cannot be blank.”}]}}

I already see if the subscriber ID is a string and apparently it´s alll right. I tried to use the function “toString” at Make but the problem still :frowning:

This is my Input:

This is the HTTP request body:

What can I do? Do you have any idea?

Hi @Ana_Liz_Ferreira,

According to the Manychat API reference, the subscriber_id should be an integer (Manychat API). So try to pass the subscriber ID without quotation marks.

Cheers,
Henk

Hey, @Henk-Operative!

Thanks for the support, but I tried this and the error continues :frowning:

Do you have any other idea?

Thanks!

Hi @Ana_Liz_Ferreira,

Have you tried to use the Make DevTool before? It is an awesome tool to see the naked API requests sent by Make and the responses from the external API.

Can you check what the exact payload is that is sent by Make?

Chrome Extension:
Make DevTool - Chrome Web Store
Tutorial:
Introduction to Make Chrome DevTool (formerly Integromat DevTool)

Cheers,
Henk

@Henk-Operative thank you very much! I will try this :grinning: