35118: MessagingServiceSid is required to schedule a message
MESSAGING
ERROR
This error occurs when you try to create a scheduled Message without MessagingServiceSid. To schedule a message, send the request through a Messaging Service and include the scheduling parameters in that request. If you want to use a specific sender, you can also include From, but the request still requires MessagingServiceSid.
- Your request included
ScheduleTypeandSendAt, but did not includeMessagingServiceSid. - Your application tried to schedule the message by passing only
From. Scheduled messages require a Messaging Service even when you want to use a specific sender. - Your application passed an empty, misspelled, or malformed
MessagingServiceSidvalue. A valid Messaging Service SID starts withMG.
- Add
MessagingServiceSidto the API request whenever you setScheduleTypeandSendAt. - Create or select a Messaging Service, then resend the request using that service's
MessagingServiceSid. - If you also pass
From, make sure that sender is part of the Messaging Service's Sender Pool.