---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/50342#article
headline: "50342: Messaging service does not belong to account"
url: https://www.twilio.com/docs/api/errors/50342
inLanguage: en
dateModified: 2026-03-11T20:43:38.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 50342: Messaging service does not belong to account

Log Level: ERROR

## Description

The requested messaging service SID does not belong to your account.

### Possible causes

You may have copied/pasted incorrectly, or your API request targeted a different account (e.g. if you have several Projects or several Twilio accounts).

### Possible solutions

Double-check the Messaging Service SID, confirming that it belongs to your account. Check whether you are authenticating against Twilio with the same account. With these matching, the request will succeed.
