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

First seen: 3 days ago · Last seen: about 5 hours ago
Occurrences: 348
Resolved: No

## Info
- Message: Variant: User lacks permission to send message in room 'endpoint'
- When: about 5 hours ago
- Occurred: 2025-11-16 06:54:27 UTC
- Occurred Local: 2025-11-16 06:54:27 (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 'endpoint'
- 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: 06:54:27.980 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 06:54:27.266 AM, Cat: console, Level: log, Msg: Sent error: Missing 'timestamp' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing 'timestamp' prop in Message component"],"logger":"console"}
```
- Time: 06:54:27.263 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'timestamp' prop in Message component, Type: -
- Time: 06:54:27.262 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 06:54:26.660 AM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 2, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 2"],"logger":"console"}
```
- Time: 06:54:26.657 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 2, Type: -
- Time: 06:54:26.657 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 06:54:24.733 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 49, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 49"],"logger":"console"}
```
- Time: 06:54:24.730 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 49, Type: -
- Time: 06:54:24.726 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 06:53:53.075 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID content, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID content"],"logger":"console"}
```
- Time: 06:53:53.072 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID content, Type: -
- Time: 06:53:53.069 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:53:51.413 AM, Cat: console, Level: log, Msg: Sent error: Invalid message format '15', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '15'"],"logger":"console"}
```
- Time: 06:53:51.411 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '15', Type: -
- Time: 06:53:51.408 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:53:50.565 AM, Cat: console, Level: log, Msg: Sent error: Missing 'timestamp' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing 'timestamp' prop in Message component"],"logger":"console"}
```
- Time: 06:53:50.562 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'timestamp' prop in Message component, Type: -
- Time: 06:53:50.562 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:53:48.938 AM, Cat: console, Level: log, Msg: Sent error: Missing 'endpoint' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing 'endpoint' prop in Message component"],"logger":"console"}
```
- Time: 06:53:48.937 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'endpoint' prop in Message component, Type: -
- Time: 06:53:48.937 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 06:53:47.101 AM, Cat: console, Level: log, Msg: Sent error: Variant: Missing '27' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing '27' prop in Message component"],"logger":"console"}
```
- Time: 06:53:47.101 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing '27' prop in Message component, Type: -
- Time: 06:53:47.098 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 06:52:06.634 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: 06:52:06.631 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 06:52:06.631 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:52:04.871 AM, 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: 06:52:04.868 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID endpoint, Type: -
- Time: 06:52:04.868 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:51:24.746 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: 06:51:24.743 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'endpoint', Type: -
- Time: 06:51:24.743 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:51:24.229 AM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch 'content', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch 'content'"],"logger":"console"}
```
- Time: 06:51:24.224 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'content', Type: -
- Time: 06:51:24.221 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:50:30.548 AM, Cat: console, Level: log, Msg: Sent error: Missing '828' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '828' prop in Message component"],"logger":"console"}
```
- Time: 06:50:30.542 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '828' prop in Message component, Type: -
- Time: 06:50:30.539 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:49:13.467 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (14 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (14 messages)"],"logger":"console"}
```
- Time: 06:49:13.464 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (14 messages), Type: -
- Time: 06:49:13.463 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:49:11.977 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: 06:49:11.973 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'endpoint', Type: -
- Time: 06:49:11.970 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 06:47:51.095 AM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 13, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 13"],"logger":"console"}
```
- Time: 06:47:51.091 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 13, Type: -
- Time: 06:47:51.088 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:46:38.312 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: 06:46:38.303 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID timestamp, Type: -
- Time: 06:46:38.301 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 05:57:12.595 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '40', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '40'"],"logger":"console"}
```
- Time: 05:57:12.592 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '40', Type: -
- Time: 05:57:12.592 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 05:57:11.558 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: 05:57:11.555 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'endpoint', Type: -
- Time: 05:57:11.552 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:57:10.365 AM, 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: 05:57:10.362 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'timestamp', Type: -
- Time: 05:57:10.361 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:57:08.974 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: 05:57:08.973 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'endpoint', Type: -
- Time: 05:57:08.970 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 05:57:07.117 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: 05:57:07.111 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'int', Type: -
- Time: 05:57:07.105 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 05:56:27.802 AM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got 534, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got 534"],"logger":"console"}
```
- Time: 05:56:27.799 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got 534, Type: -
- Time: 05:56:27.798 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 05:56:25.986 AM, 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: 05:56:25.984 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID int, Type: -
- Time: 05:56:25.983 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 05:56:24.815 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '994', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '994'"],"logger":"console"}
```
- Time: 05:56:24.812 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '994', Type: -
- Time: 05:56:24.811 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 05:56:22.957 AM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 33, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 33"],"logger":"console"}
```
- Time: 05:56:22.953 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 33, Type: -
- Time: 05:56:22.953 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:54:59.936 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: 05:54:59.933 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'endpoint', Type: -
- Time: 05:54:59.930 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 05:54:59.404 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 17, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 17"],"logger":"console"}
```
- Time: 05:54:59.401 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 17, Type: -
- Time: 05:54:59.401 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:54:28.614 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: 05:54:28.608 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'int' prop in Message component, Type: -
- Time: 05:54:28.608 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 05:54:26.928 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '322', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '322'"],"logger":"console"}
```
- Time: 05:54:26.927 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '322', Type: -
- Time: 05:54:26.926 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 05:54:26.160 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: 05:54:26.151 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'timestamp', Type: -
- Time: 05:54:26.147 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:53:23.625 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message not found with ID 44, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message not found with ID 44"],"logger":"console"}
```
- Time: 05:53:23.621 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID 44, Type: -
- Time: 05:53:23.619 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:53:22.818 AM, Cat: console, Level: log, Msg: Sent error: Missing 'endpoint' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing 'endpoint' prop in Message component"],"logger":"console"}
```
- Time: 05:53:22.815 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'endpoint' prop in Message component, Type: -
- Time: 05:53:22.812 AM, 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: 508
- Username: demo_user_18
- Email: demo@example.com

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

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