# 35118: MessagingServiceSid is required to schedule a message

Log Type: APPLICATION

Log Level: ERROR

## Description

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`.

### Possible causes

* Your request included `ScheduleType` and `SendAt`, but did not include `MessagingServiceSid`.
* 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 `MessagingServiceSid` value. A valid Messaging Service SID starts with `MG`.

### Possible solutions

* Add `MessagingServiceSid` to the API request whenever you set `ScheduleType` and `SendAt`.
* 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.

#### Additional resources

* [Message Scheduling](/docs/messaging/features/message-scheduling)
* [Messaging Services](/docs/messaging/services)
* [Message resource API reference](/docs/messaging/api/message-resource)
