90006: Invalid direction
MESSAGING
ERROR
This error means the request included an invalid direction value for a message. Valid Message resource directions are inbound, outbound-api, outbound-call, and outbound-reply.
- The request sent a
directionvalue that is not one of the supported Message resource directions. - The application or integration mapped the wrong value into the message direction field.
- Update the request or integration to use one of the supported values:
inbound,outbound-api,outbound-call, oroutbound-reply. - Review the code that creates or updates the message and remove any unexpected
directionvalue. - If the request is already using a valid value and the error continues, contact Twilio Support.