Skip to main content

Hello, I am encountering an issue when trying to send messages via the ManyChat API using the POST /fb/sending/sendContent endpoint. Despite correctly setting the subscriberId, I am receiving the following error:

 

{

   "status": "error",

   "message": "Validation error",

   "details": {

       "messages": m

           {

               "message": "subscriber_id cannot be blank."

           }

       ]

   }

}

 

Here are the key points:

 

1. Subscriber ID is being correctly passed (949015054).

 

 

2. The request body is structured as follows:

 

 

 

{

   "subscriberId": "949015054",

   "message": {

       "text": "Your message here"

   }

}

 

3. The Authorization header and Content-Type are set properly:

 

Authorization: Bearer token]

 

Content-Type: application/json

 

 

 

 

I’ve double-checked the formatting and JSON structure, but the error persists. I've followed the instructions in the ManyChat API documentation and have tried using the Postman tool, but the problem is still unresolved.

 

Has anyone else encountered this issue or have suggestions on what might be wrong?

 

Any help or guidance would be greatly appreciated!

ACg8ocL-wjTkiw7DAItGhoeXfPlV9kZ6Bn9nfRPrY4n36Lj7hhcrXw=s40-p-mo ОтветитьПереслать

Добавить реакцию

Be the first to reply!

Reply