---
page_type: error
code: 50341
message: "50341: Invalid messaging service SID"
level: ERROR
product: Programmable Chat
---

## Error - 50341

### Conversations: Invalid messaging service SID

An invalid messaging service SID was supplied.

#### Possible Causes

The MessagingServiceSid provided with the request does not match a valid SID pattern (MGxx).

#### Possible Solutions

Verify that the SID provided is prefixed with MG and is not missing digits. Your messaging services can be enumerated at https://twilio.com/console/sms/services.