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

First seen: about 4 hours ago · Last seen: about 2 hours ago
Occurrences: 24
Resolved: No

## Info
- Message: Variant: User lacks permission to send message in room '26'
- When: about 2 hours ago
- Occurred: 2025-11-13 11:22:53 UTC
- Occurred Local: 2025-11-13 11:22:53 (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: Variant: User lacks permission to send message in room '26'
- Module: -

1. http://localhost:8080/static/react-test-bundle.min.js, line 467:7110 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: 11:22:53.285 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:21:38.381 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID content, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID content"],"logger":"console"}
```
- Time: 11:21:38.378 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID content, Type: -
- Time: 11:21:38.378 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:21:36.687 AM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room 'content', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room 'content'"],"logger":"console"}
```
- Time: 11:21:36.678 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'content', Type: -
- Time: 11:21:36.674 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:20:25.717 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'int', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'int'"],"logger":"console"}
```
- Time: 11:20:25.713 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'int', Type: -
- Time: 11:20:25.713 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:20:24.654 AM, Cat: console, Level: log, Msg: Sent error: Missing 'int' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing 'int' prop in Message component"],"logger":"console"}
```
- Time: 11:20:24.651 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'int' prop in Message component, Type: -
- Time: 11:20:24.650 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:20:23.348 AM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property '906', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property '906'"],"logger":"console"}
```
- Time: 11:20:23.345 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:20:23.345 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property '906', Type: -
- Time: 11:20:22.388 AM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch 'timestamp'"],"logger":"console"}
```
- Time: 11:20:22.384 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'timestamp', Type: -
- Time: 11:20:22.381 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:18:03.726 AM, 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: 11:18:03.723 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got timestamp, Type: -
- Time: 11:18:03.720 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:18:02.661 AM, 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: 11:18:02.660 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'int', Type: -
- Time: 11:18:02.657 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:18:01.638 AM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got 232, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got 232"],"logger":"console"}
```
- Time: 11:18:01.634 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got 232, Type: -
- Time: 11:18:01.632 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:17:30.017 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (550 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (550 messages)"],"logger":"console"}
```
- Time: 11:17:30.016 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (550 messages), Type: -
- Time: 11:17:30.016 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:17:28.888 AM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room 'int'"],"logger":"console"}
```
- Time: 11:17:28.887 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'int', Type: -
- Time: 11:17:28.885 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:17:28.239 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'content', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'content'"],"logger":"console"}
```
- Time: 11:17:28.234 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'content', Type: -
- Time: 11:17:28.232 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:17:27.262 AM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room '989', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room '989'"],"logger":"console"}
```
- Time: 11:17:27.259 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room '989', Type: -
- Time: 11:17:27.259 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:17:26.243 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (int messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (int messages)"],"logger":"console"}
```
- Time: 11:17:26.240 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (int messages), Type: -
- Time: 11:17:26.239 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:17:24.821 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room 'content', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room 'content'"],"logger":"console"}
```
- Time: 11:17:24.818 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'content', Type: -
- Time: 11:17:24.815 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:17:23.405 AM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got int, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got int"],"logger":"console"}
```
- Time: 11:17:23.401 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got int, Type: -
- Time: 11:17:23.398 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:17:21.661 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'int', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'int'"],"logger":"console"}
```
- Time: 11:17:21.655 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'int', Type: -
- Time: 11:17:21.653 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:16:49.846 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'endpoint'"],"logger":"console"}
```
- Time: 11:16:49.844 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'endpoint', Type: -
- Time: 11:16:49.842 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:16:47.923 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'content', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'content'"],"logger":"console"}
```
- Time: 11:16:47.920 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'content', Type: -
- Time: 11:16:47.917 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:16:46.624 AM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room '9', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room '9'"],"logger":"console"}
```
- Time: 11:16:46.618 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room '9', Type: -
- Time: 11:16:46.615 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:16:44.714 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '439', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '439'"],"logger":"console"}
```
- Time: 11:16:44.713 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '439', Type: -
- Time: 11:16:44.711 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:16:43.321 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID 325, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID 325"],"logger":"console"}
```
- Time: 11:16:43.318 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID 325, Type: -
- Time: 11:16:43.315 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:16:04.835 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 603, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 603"],"logger":"console"}
```
- Time: 11:16:04.834 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 603, Type: -
- Time: 11:16:04.832 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:16:03.798 AM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'int', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'int'"],"logger":"console"}
```
- Time: 11:16:03.796 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'int', Type: -
- Time: 11:16:03.793 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:16:01.917 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 14, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 14"],"logger":"console"}
```
- Time: 11:16:01.915 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 14, Type: -
- Time: 11:16:01.914 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:15:14.997 AM, 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: 11:15:14.994 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing 'int' prop in Message component, Type: -
- Time: 11:15:14.990 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:15:13.653 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID 920, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID 920"],"logger":"console"}
```
- Time: 11:15:13.650 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID 920, Type: -
- Time: 11:15:13.648 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:15:12.359 AM, 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: 11:15:12.355 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'endpoint', Type: -
- Time: 11:15:12.351 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:11:54.267 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'endpoint'"],"logger":"console"}
```
- Time: 11:11:54.265 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'endpoint', Type: -
- Time: 11:11:54.263 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:11:53.638 AM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'endpoint'"],"logger":"console"}
```
- Time: 11:11:53.632 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'endpoint', Type: -
- Time: 11:11:53.630 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:11:22.033 AM, Cat: console, Level: log, Msg: Sent error: Missing '802' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '802' prop in Message component"],"logger":"console"}
```
- Time: 11:11:22.032 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '802' prop in Message component, Type: -
- Time: 11:11:22.032 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:11:21.519 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID 32, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID 32"],"logger":"console"}
```
- Time: 11:11:21.517 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID 32, Type: -
- Time: 11:11:21.516 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:11:20.207 AM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room 'timestamp'"],"logger":"console"}
```
- Time: 11:11:20.206 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'timestamp', Type: -
- Time: 11:11:20.204 AM, Cat: -, Level: info, Msg: Message sent, 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: 15
- Username: demo_user_83
- Email: demo@example.com

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

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