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

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

## Info
- Message: User lacks permission to send message in room '26'
- When: 1 day ago
- Occurred: 2025-11-14 20:22:07 UTC
- Occurred Local: 2025-11-14 20:22:07 (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 '26'
- 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)

## Breadcrumbs
- Time: 08:22:07.979 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 08:22:06.766 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (content messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (content messages)"],"logger":"console"}
```
- Time: 08:22:06.763 PM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (content messages), Type: -
- Time: 08:22:06.762 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 08:22:06.038 PM, Cat: console, Level: log, Msg: Sent error: Missing '16' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '16' prop in Message component"],"logger":"console"}
```
- Time: 08:22:06.029 PM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '16' prop in Message component, Type: -
- Time: 08:22:06.026 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 08:20:54.778 PM, Cat: console, Level: log, Msg: Sent error: Message not found with ID endpoint, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID endpoint"],"logger":"console"}
```
- Time: 08:20:54.772 PM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID endpoint, Type: -
- Time: 08:20:54.767 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 08:13:29.292 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format '90', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '90'"],"logger":"console"}
```
- Time: 08:13:29.286 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '90', Type: -
- Time: 08:13:29.283 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:31:58.321 PM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property '527', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property '527'"],"logger":"console"}
```
- Time: 07:31:58.312 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property '527', Type: -
- Time: 07:31:58.306 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:28:12.779 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 42, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 42"],"logger":"console"}
```
- Time: 07:28:12.776 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 42, Type: -
- Time: 07:28:12.775 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:28:11.927 PM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '47', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '47'"],"logger":"console"}
```
- Time: 07:28:11.923 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '47', Type: -
- Time: 07:28:11.920 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:27:40.931 PM, 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: 07:27:40.930 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'int', Type: -
- Time: 07:27:40.927 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:27:38.992 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: 07:27:38.984 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'int', Type: -
- Time: 07:27:38.977 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:27:04.002 PM, Cat: console, Level: log, Msg: Sent error: Message not found with ID int, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID int"],"logger":"console"}
```
- Time: 07:27:03.997 PM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID int, Type: -
- Time: 07:27:03.994 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:27:02.885 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: 07:27:02.884 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'int', Type: -
- Time: 07:27:02.882 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:27:01.216 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: 07:27:01.213 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got int, Type: -
- Time: 07:27:01.213 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:26:29.611 PM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'timestamp'"],"logger":"console"}
```
- Time: 07:26:29.608 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'timestamp', Type: -
- Time: 07:26:29.605 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:26:28.744 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: 07:26:28.743 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'endpoint', Type: -
- Time: 07:26:28.740 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:26:27.704 PM, 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: 07:26:27.700 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'endpoint', Type: -
- Time: 07:26:27.697 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:25:56.533 PM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got 816, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got 816"],"logger":"console"}
```
- Time: 07:25:56.532 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got 816, Type: -
- Time: 07:25:56.529 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:25:54.940 PM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room '894', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room '894'"],"logger":"console"}
```
- Time: 07:25:54.937 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room '894', Type: -
- Time: 07:25:54.937 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:25:53.242 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'timestamp'"],"logger":"console"}
```
- Time: 07:25:53.239 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'timestamp', Type: -
- Time: 07:25:53.236 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:25:51.631 PM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (endpoint messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (endpoint messages)"],"logger":"console"}
```
- Time: 07:25:51.627 PM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 07:25:51.625 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:25:51.055 PM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '42', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '42'"],"logger":"console"}
```
- Time: 07:25:51.052 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '42', Type: -
- Time: 07:25:51.052 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:25:20.223 PM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 695, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 695"],"logger":"console"}
```
- Time: 07:25:20.220 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 695, Type: -
- Time: 07:25:20.220 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:25:18.401 PM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '22', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '22'"],"logger":"console"}
```
- Time: 07:25:18.401 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '22', Type: -
- Time: 07:25:18.400 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:25:16.756 PM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch 'endpoint'"],"logger":"console"}
```
- Time: 07:25:16.753 PM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'endpoint', Type: -
- Time: 07:25:16.753 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:25:16.111 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'int', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'int'"],"logger":"console"}
```
- Time: 07:25:16.108 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'int', Type: -
- Time: 07:25:16.105 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:25:15.207 PM, 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: 07:25:15.200 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'content', Type: -
- Time: 07:25:15.197 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:25:14.428 PM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (timestamp messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (timestamp messages)"],"logger":"console"}
```
- Time: 07:25:14.427 PM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (timestamp messages), Type: -
- Time: 07:25:14.426 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:25:13.707 PM, Cat: console, Level: log, Msg: Sent error: Missing '147' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '147' prop in Message component"],"logger":"console"}
```
- Time: 07:25:13.703 PM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '147' prop in Message component, Type: -
- Time: 07:25:13.701 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:25:11.841 PM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'timestamp'"],"logger":"console"}
```
- Time: 07:25:11.836 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'timestamp', Type: -
- Time: 07:25:11.835 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:24:40.470 PM, Cat: console, Level: log, Msg: Sent error: Missing 'content' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing 'content' prop in Message component"],"logger":"console"}
```
- Time: 07:24:40.469 PM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'content' prop in Message component, Type: -
- Time: 07:24:40.467 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:24:38.572 PM, Cat: console, Level: log, Msg: Sent error: Variant: Missing 'endpoint' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing 'endpoint' prop in Message component"],"logger":"console"}
```
- Time: 07:24:38.565 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing 'endpoint' prop in Message component, Type: -
- Time: 07:24:38.562 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:23:53.805 PM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format 'timestamp'"],"logger":"console"}
```
- Time: 07:23:53.802 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'timestamp', Type: -
- Time: 07:23:53.801 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:23:22.108 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '127', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '127'"],"logger":"console"}
```
- Time: 07:23:22.105 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '127', Type: -
- Time: 07:23:22.105 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:23:21.492 PM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (13 messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (13 messages)"],"logger":"console"}
```
- Time: 07:23:21.490 PM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (13 messages), Type: -
- Time: 07:23:21.489 PM, Cat: -, Level: info, Msg: User typing, 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: 968
- Username: demo_user_76
- Email: demo@example.com

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

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