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

First seen: 4 days ago · Last seen: 1 day ago
Occurrences: 444
Resolved: No

## Info
- Message: Variant: User lacks permission to send message in room 'timestamp'
- When: 1 day ago
- Occurred: 2025-11-16 10:08:46 UTC
- Occurred Local: 2025-11-16 10:08:46 (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 'timestamp'
- 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)

## Breadcrumbs
- Time: 10:08:46.838 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 10:08:45.125 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '6', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '6'"],"logger":"console"}
```
- Time: 10:08:45.121 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '6', Type: -
- Time: 10:08:45.118 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 10:07:57.874 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format 'endpoint'"],"logger":"console"}
```
- Time: 10:07:57.868 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'endpoint', Type: -
- Time: 10:07:57.868 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 10:07:56.180 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: 10:07:56.174 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'endpoint', Type: -
- Time: 10:07:56.171 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 10:07:55.013 AM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property '37', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property '37'"],"logger":"console"}
```
- Time: 10:07:55.013 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property '37', Type: -
- Time: 10:07:55.012 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 10:07:23.464 AM, 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: 10:07:23.463 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'endpoint', Type: -
- Time: 10:07:23.463 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 10:07:21.664 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '42', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '42'"],"logger":"console"}
```
- Time: 10:07:21.661 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '42', Type: -
- Time: 10:07:21.657 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 10:07:20.191 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'int'"],"logger":"console"}
```
- Time: 10:07:20.190 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 10:07:20.188 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 10:07:18.676 AM, 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: 10:07:18.674 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (timestamp messages), Type: -
- Time: 10:07:18.671 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 10:06:47.437 AM, 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: 10:06:47.436 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 10:06:47.434 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 10:06:46.548 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID timestamp, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID timestamp"],"logger":"console"}
```
- Time: 10:06:46.543 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID timestamp, Type: -
- Time: 10:06:46.542 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 10:06:45.809 AM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got endpoint, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got endpoint"],"logger":"console"}
```
- Time: 10:06:45.808 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got endpoint, Type: -
- Time: 10:06:45.806 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 10:06:44.529 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format 'endpoint'"],"logger":"console"}
```
- Time: 10:06:44.522 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'endpoint', Type: -
- Time: 10:06:44.520 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 10:06:43.091 AM, 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: 10:06:43.088 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (endpoint messages), Type: -
- Time: 10:06:43.088 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 10:06:42.256 AM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'timestamp'"],"logger":"console"}
```
- Time: 10:06:42.253 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'timestamp', Type: -
- Time: 10:06:42.252 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 10:06:10.835 AM, Cat: console, Level: log, Msg: Sent error: Invalid message format '6', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '6'"],"logger":"console"}
```
- Time: 10:06:10.832 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '6', Type: -
- Time: 10:06:10.832 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 10:06:10.280 AM, 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: 10:06:10.278 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 10:06:10.276 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 10:06:09.724 AM, 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: 10:06:09.723 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'timestamp', Type: -
- Time: 10:06:09.723 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 10:06:08.736 AM, 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: 10:06:08.733 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got int, Type: -
- Time: 10:06:08.730 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 10:06:07.471 AM, Cat: console, Level: log, Msg: Sent error: Missing '44' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '44' prop in Message component"],"logger":"console"}
```
- Time: 10:06:07.464 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '44' prop in Message component, Type: -
- Time: 10:06:07.461 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 09:11:48.394 AM, Cat: console, Level: log, Msg: Sent error: Variant: Missing '9' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing '9' prop in Message component"],"logger":"console"}
```
- Time: 09:11:48.387 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing '9' prop in Message component, Type: -
- Time: 09:11:48.381 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 09:07:20.690 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: 09:07:20.687 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'content', Type: -
- Time: 09:07:20.687 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 09:06:23.940 AM, 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: 09:06:23.934 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 09:06:23.928 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 09:05:50.588 AM, 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: 09:05:50.585 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got int, Type: -
- Time: 09:05:50.585 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 09:05:49.187 AM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch '25', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch '25'"],"logger":"console"}
```
- Time: 09:05:49.184 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch '25', Type: -
- Time: 09:05:49.184 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 09:05:48.007 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '9', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '9'"],"logger":"console"}
```
- Time: 09:05:48.006 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '9', Type: -
- Time: 09:05:48.003 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 09:05:46.440 AM, 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: 09:05:46.437 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (timestamp messages), Type: -
- Time: 09:05:46.436 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 09:05:44.588 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: 09:05:44.584 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'endpoint', Type: -
- Time: 09:05:44.582 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 09:05:05.790 AM, 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: 09:05:05.789 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 09:05:05.789 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID endpoint, Type: -
- Time: 09:05:03.816 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'int'"],"logger":"console"}
```
- Time: 09:05:03.812 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 09:05:03.809 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 09:04:11.915 AM, Cat: console, Level: log, Msg: Sent error: Missing '615' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '615' prop in Message component"],"logger":"console"}
```
- Time: 09:04:11.904 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '615' prop in Message component, Type: -
- Time: 09:04:11.901 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 09:04:10.670 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'int'"],"logger":"console"}
```
- Time: 09:04:10.667 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 09:04:10.664 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 09:04:09.713 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch 'int'"],"logger":"console"}
```
- Time: 09:04:09.711 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 09:04:09.710 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 09:03:38.177 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format 'int', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format 'int'"],"logger":"console"}
```
- Time: 09:03:38.173 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'int', Type: -
- Time: 09:03:38.171 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: 939
- Username: demo_user_75
- Email: demo@example.com

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

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