# Error
User lacks permission to send message in room 'int'

First seen: 3 days ago · Last seen: 2 days ago
Occurrences: 348
Resolved: No

## Info
- Message: User lacks permission to send message in room 'endpoint'
- When: 2 days ago
- Occurred: 2025-11-14 17:15:20 UTC
- Occurred Local: 2025-11-14 17:15:20 (Etc/UTC)
- Handled: Yes
- Severity: error
- Environment: production
- Platform: javascript
- Project: Chat Frontend
- Release Version: chat_frontend-v1.0
- Sourcemap Applied: No

## Backtrace
### Main
- Type: Error
- Value: User lacks permission to send message in room 'endpoint'
- Module: -

1. http://localhost:8080/static/react-test-bundle.min.js, line 467:7096 in `o` (in_app)
2. http://localhost:8080/static/react-test-bundle.min.js, line 467:7138 in `J4` (in_app)
3. http://localhost:8080/static/react-test-bundle.min.js, line 467:8067 in `?` (in_app)
4. http://localhost:8080/static/react-test-bundle.min.js, line 14:11199 in `pg.withScope` (in_app)
5. http://localhost:8080/static/react-test-bundle.min.js, line 14:10646 in `Object._A [as withScope]` (in_app)
6. http://localhost:8080/static/react-test-bundle.min.js, line 14:10292 in `Ge` (in_app)
7. http://localhost:8080/static/react-test-bundle.min.js, line 467:7383 in `yR` (in_app)
8. http://localhost:8080/static/react-test-bundle.min.js, line 26:5442 in `r` (in_app)

## Breadcrumbs
- Time: 05:15:20.584 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 05:14:33.798 PM, Cat: console, Level: log, Msg: Sent error: Variant: Missing 'int' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing 'int' prop in Message component"],"logger":"console"}
```
- Time: 05:14:33.793 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing 'int' prop in Message component, Type: -
- Time: 05:14:33.792 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 05:14:33.266 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'endpoint'"],"logger":"console"}
```
- Time: 05:14:33.259 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'endpoint', Type: -
- Time: 05:14:33.256 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 05:07:38.815 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (endpoint messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (endpoint messages)"],"logger":"console"}
```
- Time: 05:07:38.809 PM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (endpoint messages), Type: -
- Time: 05:07:38.805 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 04:19:13.469 PM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room 'endpoint'"],"logger":"console"}
```
- Time: 04:19:13.463 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'endpoint', Type: -
- Time: 04:19:13.460 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:17:48.525 PM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property 'endpoint'"],"logger":"console"}
```
- Time: 04:17:48.522 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'endpoint', Type: -
- Time: 04:17:48.520 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:17:47.013 PM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property '30', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property '30'"],"logger":"console"}
```
- Time: 04:17:47.006 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property '30', Type: -
- Time: 04:17:47.000 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:14:04.667 PM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '549', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '549'"],"logger":"console"}
```
- Time: 04:14:04.664 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '549', Type: -
- Time: 04:14:04.664 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 04:13:33.276 PM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (588 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (588 messages)"],"logger":"console"}
```
- Time: 04:13:33.275 PM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (588 messages), Type: -
- Time: 04:13:33.273 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 04:13:31.714 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'timestamp'"],"logger":"console"}
```
- Time: 04:13:31.713 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'timestamp', Type: -
- Time: 04:13:31.711 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:13:30.207 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'timestamp'"],"logger":"console"}
```
- Time: 04:13:30.200 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'timestamp', Type: -
- Time: 04:13:30.196 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:12:25.963 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 817, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 817"],"logger":"console"}
```
- Time: 04:12:25.960 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 817, Type: -
- Time: 04:12:25.960 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 04:11:55.049 PM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property 'int'"],"logger":"console"}
```
- Time: 04:11:55.046 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'int', Type: -
- Time: 04:11:55.045 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:11:24.144 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format '15', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '15'"],"logger":"console"}
```
- Time: 04:11:24.138 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '15', Type: -
- Time: 04:11:24.134 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:10:52.951 PM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got timestamp, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got timestamp"],"logger":"console"}
```
- Time: 04:10:52.948 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got timestamp, Type: -
- Time: 04:10:52.947 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:10:51.717 PM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got int, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got int"],"logger":"console"}
```
- Time: 04:10:51.713 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got int, Type: -
- Time: 04:10:51.711 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:10:50.805 PM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 697, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 697"],"logger":"console"}
```
- Time: 04:10:50.802 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 697, Type: -
- Time: 04:10:50.802 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 04:10:50.250 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (38 messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (38 messages)"],"logger":"console"}
```
- Time: 04:10:50.247 PM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (38 messages), Type: -
- Time: 04:10:50.246 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 04:10:48.677 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID endpoint, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID endpoint"],"logger":"console"}
```
- Time: 04:10:48.674 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID endpoint, Type: -
- Time: 04:10:48.673 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 04:10:47.214 PM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got timestamp, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got timestamp"],"logger":"console"}
```
- Time: 04:10:47.211 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got timestamp, Type: -
- Time: 04:10:47.210 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:10:45.746 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'timestamp'"],"logger":"console"}
```
- Time: 04:10:45.744 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'timestamp', Type: -
- Time: 04:10:45.743 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 04:10:45.038 PM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room 'endpoint'"],"logger":"console"}
```
- Time: 04:10:45.036 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'endpoint', Type: -
- Time: 04:10:45.035 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:09:01.147 PM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property 'timestamp'"],"logger":"console"}
```
- Time: 04:09:01.144 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'timestamp', Type: -
- Time: 04:09:01.141 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 04:09:00.005 PM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '728', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '728'"],"logger":"console"}
```
- Time: 04:08:59.994 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '728', Type: -
- Time: 04:08:59.993 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 04:08:58.134 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID int, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID int"],"logger":"console"}
```
- Time: 04:08:58.132 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID int, Type: -
- Time: 04:08:58.131 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:08:57.112 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID int, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID int"],"logger":"console"}
```
- Time: 04:08:57.102 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID int, Type: -
- Time: 04:08:57.096 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:07:41.029 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 40, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 40"],"logger":"console"}
```
- Time: 04:07:41.026 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 40, Type: -
- Time: 04:07:41.026 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:07:39.644 PM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property 'timestamp'"],"logger":"console"}
```
- Time: 04:07:39.644 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'timestamp', Type: -
- Time: 04:07:39.642 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 04:07:38.092 PM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch 'int', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch 'int'"],"logger":"console"}
```
- Time: 04:07:38.082 PM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'int', Type: -
- Time: 04:07:38.075 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:06:46.552 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 683, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 683"],"logger":"console"}
```
- Time: 04:06:46.551 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 683, Type: -
- Time: 04:06:46.549 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 04:06:45.401 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'timestamp'"],"logger":"console"}
```
- Time: 04:06:45.400 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'timestamp', Type: -
- Time: 04:06:45.398 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 04:06:44.107 PM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 795, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 795"],"logger":"console"}
```
- Time: 04:06:44.104 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 795, Type: -
- Time: 04:06:44.101 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 04:05:04.200 PM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room 'int', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room 'int'"],"logger":"console"}
```
- Time: 04:05:04.191 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'int', Type: -
- Time: 04:05:04.187 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 03:10:54.095 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '709', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '709'"],"logger":"console"}
```
- Time: 03:10:54.094 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '709', Type: -
- Time: 03:10:54.092 PM, Cat: -, Level: info, Msg: User joined room, Type: -

## Tags
- app: chat_frontend
- environment: test
- technology: react
- version: 8.0.0

## Contexts
### trace
```json
{"trace_id":"ec0cca94bbd94a46958d856a78515701","span_id":"9477e0004a443922"}
```

## HTTP Request
- URL: http://localhost:8080/test.html
### Headers
```json
{"User-Agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/142.0.0.0 Safari/537.36"}
```

## User
- ID: 814
- Username: demo_user_8
- Email: demo@example.com

## Extras
- context: {"component" => "ChatRoom", "room_name" => "Room 76"}
- debug_info: {"key" => "value2"}
- request_method: POST
- url: /chat/rooms/6

## SDK
- Name: sentry.javascript.react
- Version: 8.0.0
