---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/50205#article
headline: "50205: Programmable Chat: User unauthorized to set role"
url: https://www.twilio.com/docs/api/errors/50205
inLanguage: en
dateModified: 2026-03-11T20:43:38.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 50205: Programmable Chat: User unauthorized to set role

Log Level: ERROR

## Description

### Possible causes

* Specified User does not have Role or Permissions to set the Role.

### Possible solutions

* Confirm a valid User having valid Role and Permissions is being passed in request.
