---
title: MSCriticalMessagingError.sendFailed
framework: messages
role: symbol
role_heading: Case
path: messages/mscriticalmessagingerror/sendfailed
---

# MSCriticalMessagingError.sendFailed

The message failed to send.

## Declaration

```swift
case sendFailed
```

## Mentioned in

Sending SMS messages from an app

## Discussion

Discussion The framework isn’t able to send the message for one of the following reasons: An unreachable or incorrectly formatted phone number An unavailable cellular network The device’s SIM is in a disabled state note: The phone number needs to conform to the ITU E.164 telephone numbering plan standard, without any additional non-numeric characters such as dashes, periods, parentheses, or a plus character (+) that introduces a country code.

## See Also

### Error codes

- [MSCriticalMessagingError.unknown](messages/mscriticalmessagingerror/unknown.md)
- [MSCriticalMessagingError.invalidAuthenticationRequest](messages/mscriticalmessagingerror/invalidauthenticationrequest.md)
- [MSCriticalMessagingError.notSupported](messages/mscriticalmessagingerror/notsupported.md)
- [MSCriticalMessagingError.notAuthorized](messages/mscriticalmessagingerror/notauthorized.md)
