pindo-cli icon indicating copy to clipboard operation
pindo-cli copied to clipboard

500 Internal Server Error on Bulk SMS Endpoint

Open thepatrickniyo opened this issue 1 year ago • 0 comments

I am encountering a 500 Internal Server Error when trying to use the Bulk SMS endpoint of the Pindo API. The issue seems to occur consistently with the provided request body. Here are the details of the request and the response I receive:

Request Details:

  • Endpoint: https://api.pindo.io/v1/sms/bulk

  • Request Method: POST

  • Request Headers:

    • Content-Type: application/json
    • Authorization: Bearer <your-api-token>
  • Request Body:

    {
      "recipients": [
        {
          "phoneNumber": "+250**",
          "name": "**"
        }
      ],
      "text": "Your account has been verified."
    }
    

Response Details:

  • HTTP Status Code: 500 Internal Server Error
  • Response Body: returns empty object {}

Additional Information:

  • Bearer token was appended as an Authorization header

Steps to Reproduce:

  1. Send a POST request to https://api.pindo.io/v1/sms/bulk with the provided request body.
  2. Observe the response which consistently returns a 500 Internal Server Error.

Attachments:

image

Thank you for your assistance in resolving this issue.

thepatrickniyo avatar Jul 28 '24 21:07 thepatrickniyo