21627: Max Price must be a valid float
MESSAGING
ERROR
This error code is obsolete. Historically, Twilio returned 21627 when your request included the maxPrice parameter with a value that was not a valid positive floating-point number. The Message resource marks maxPrice as obsolete, and as of June 3, 2024, the parameter no longer has any effect on message sending. Remove maxPrice from new requests.
- A historical API request included
maxPricewith a value of0. - A historical API request included
maxPricewith a negative value. - A historical API request included
maxPricewith a value that was not a float. - Your application still sends the obsolete
maxPriceparameter in Message resource requests. This parameter is obsolete and no longer has any effect as of June 3, 2024.
- Remove the
maxPriceparameter from your Message resource requests. - If you are troubleshooting an older implementation, set
maxPriceto a valid positive floating-point value. - Review your SMS Geo Permissions settings and allow only the countries where you intend to send messages. Twilio recommends this as a more robust way to avoid unexpected messaging costs.