# ReferenceError
Chat object has no property '582'

First seen: 1 day ago · Last seen: about 8 hours ago
Occurrences: 151
Resolved: No

## Info
- Message: Variant: Chat object has no property '8'
- When: about 8 hours ago
- Occurred: 2025-11-14 12:53:25 UTC
- Occurred Local: 2025-11-14 12:53:25 (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: ReferenceError
- Value: Variant: Chat object has no property '8'
- 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: 12:53:25.740 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 12:52:54.591 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: 12:52:54.589 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'int', Type: -
- Time: 12:52:54.588 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 12:52:09.009 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: 12:52:09.007 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 12:52:09.007 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'endpoint', Type: -
- Time: 12:52:07.726 PM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '266', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '266'"],"logger":"console"}
```
- Time: 12:52:07.719 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '266', Type: -
- Time: 12:52:07.716 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 12:50:30.364 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: 12:50:30.357 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'endpoint', Type: -
- Time: 12:50:30.352 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 12:48:08.871 PM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got 410, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got 410"],"logger":"console"}
```
- Time: 12:48:08.865 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got 410, Type: -
- Time: 12:48:08.861 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:58:35.887 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '9', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '9'"],"logger":"console"}
```
- Time: 11:58:35.884 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '9', Type: -
- Time: 11:58:35.882 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:58:34.967 AM, 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: 11:58:34.963 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'timestamp', Type: -
- Time: 11:58:34.960 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:56:18.035 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '32', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '32'"],"logger":"console"}
```
- Time: 11:56:18.032 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '32', Type: -
- Time: 11:56:18.030 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:56:16.119 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: 11:56:16.112 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got endpoint, Type: -
- Time: 11:56:16.108 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:54:39.295 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '46', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '46'"],"logger":"console"}
```
- Time: 11:54:39.292 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '46', Type: -
- Time: 11:54:39.292 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:54:37.618 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:54:37.617 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'int', Type: -
- Time: 11:54:37.615 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:54:36.492 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: 11:54:36.490 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (endpoint messages), Type: -
- Time: 11:54:36.490 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:54:34.775 AM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch '11', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch '11'"],"logger":"console"}
```
- Time: 11:54:34.772 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch '11', Type: -
- Time: 11:54:34.769 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:54:32.790 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '164', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '164'"],"logger":"console"}
```
- Time: 11:54:32.788 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '164', Type: -
- Time: 11:54:32.786 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:54:01.466 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (473 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (473 messages)"],"logger":"console"}
```
- Time: 11:54:01.463 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (473 messages), Type: -
- Time: 11:54:01.463 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:54:00.398 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:54:00.395 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:54:00.395 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (int messages), Type: -
- Time: 11:53:58.710 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID 400, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID 400"],"logger":"console"}
```
- Time: 11:53:58.707 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID 400, Type: -
- Time: 11:53:58.703 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:53:57.779 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: 11:53:57.775 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'endpoint', Type: -
- Time: 11:53:57.772 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:53:56.384 AM, Cat: console, Level: log, Msg: Sent error: Invalid message format '49', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '49'"],"logger":"console"}
```
- Time: 11:53:56.381 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '49', Type: -
- Time: 11:53:56.380 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:53:54.390 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '37', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '37'"],"logger":"console"}
```
- Time: 11:53:54.387 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '37', Type: -
- Time: 11:53:54.384 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:53:53.730 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (int messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (int messages)"],"logger":"console"}
```
- Time: 11:53:53.726 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (int messages), Type: -
- Time: 11:53:53.723 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:53:52.923 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: 11:53:52.921 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 11:53:52.920 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:53:51.108 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (43 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (43 messages)"],"logger":"console"}
```
- Time: 11:53:51.107 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (43 messages), Type: -
- Time: 11:53:51.105 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:53:49.871 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '871', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '871'"],"logger":"console"}
```
- Time: 11:53:49.864 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '871', Type: -
- Time: 11:53:49.858 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:53:10.887 AM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '4', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '4'"],"logger":"console"}
```
- Time: 11:53:10.884 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '4', Type: -
- Time: 11:53:10.882 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:53:09.556 AM, 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: 11:53:09.555 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID int, Type: -
- Time: 11:53:09.553 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 11:53:07.614 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: 11:53:07.611 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID endpoint, Type: -
- Time: 11:53:07.611 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:53:05.635 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (236 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (236 messages)"],"logger":"console"}
```
- Time: 11:53:05.634 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (236 messages), Type: -
- Time: 11:53:05.632 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 11:52:33.881 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (28 messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (28 messages)"],"logger":"console"}
```
- Time: 11:52:33.878 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (28 messages), Type: -
- Time: 11:52:33.878 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:51:27.482 AM, Cat: console, Level: log, Msg: Sent error: Variant: Expected string for username, got endpoint, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Expected string for username, got endpoint"],"logger":"console"}
```
- Time: 11:51:27.480 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got endpoint, Type: -
- Time: 11:51:27.477 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 11:51:26.155 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:51:26.154 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'int', Type: -
- Time: 11:51:26.153 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 11:51:24.752 AM, Cat: console, Level: log, Msg: Sent error: Message not found with ID 178, Type: -
### Data
```json
{"arguments":["Sent error: Message not found with ID 178"],"logger":"console"}
```
- Time: 11:51:24.750 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID 178, Type: -
- Time: 11:51:24.750 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 11:51:22.967 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: 11:51:22.964 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 11:51:22.963 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: 406
- Username: demo_user_95
- Email: demo@example.com

## Extras
- context: {"component" => "ChatPublisher", "prop" => "sender"}
- debug_info: {"key" => "value2"}
- request_method: PUT
- url: /chat/rooms/72

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