Description:
When a space is passed as the value for the connectionId parameter in the API request, the response returns an incorrect error message. The current message states "Invalid format for connectionId"
Method
POST/v1/orgs/{orgId}/basic-message/{connectionId} (Send basic message)
Steps to Reproduce
- Send an API request with a space in the connectionId param.
- Observe the response.
Current behavior
{
"statusCode": 400,
"message": "Invalid format for connectionId",
"error": "Bad Request"
}
Expected behavior
{
"statusCode": 400,
"message": "Please provide valid connectionId",
"error": "Bad Request"
}
Screenshot
