# 30047: Failed to schedule message for a compliant time window

Log Type: TWILIO

Log Level: ERROR

## Description

This error applies to messages sent by accounts that have [Compliance Toolkit](/docs/messaging/features/compliance-toolkit) enabled. When Compliance Toolkit determines that a message would be sent outside an allowed (compliant) time window, it reschedules the message for the next compliant time window instead of sending it immediately. This error occurs when that rescheduling step fails.

When this happens, the message is neither queued for later delivery nor sent.

### Possible causes

* An internal failure occurred while Compliance Toolkit was rescheduling the message for the next compliant time window.

### Possible solutions

* Retry sending the message. If the condition was transient, Compliance Toolkit will reschedule the message for the next compliant time window on a subsequent attempt.
* If the error persists, note the time of the error and the affected Message SID, and contact Twilio Support so the scheduling failure can be investigated.

### Additional resources

* [Compliance Toolkit for Programmable Messaging](/docs/messaging/features/compliance-toolkit)
* [Troubleshooting](/docs/bulk-messaging/troubleshooting)
