# ReferenceError
Chat object has no property '582'

First seen: 1 day ago · Last seen: about 6 hours ago
Occurrences: 108
Resolved: No

## Info
- Message: Chat object has no property 'content'
- When: about 6 hours ago
- Occurred: 2025-11-14 06:22:41 UTC
- Occurred Local: 2025-11-14 06:22:41 (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: Chat object has no property 'content'
- 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: 06:22:41.536 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:22:39.749 AM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got 5, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got 5"],"logger":"console"}
```
- Time: 06:22:39.746 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got 5, Type: -
- Time: 06:22:39.744 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:22:39.174 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: 06:22:39.171 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'int', Type: -
- Time: 06:22:39.171 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:22:38.265 AM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property 'content', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property 'content'"],"logger":"console"}
```
- Time: 06:22:38.263 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'content', Type: -
- Time: 06:22:38.262 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:22:36.263 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: 06:22:36.262 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'timestamp', Type: -
- Time: 06:22:36.260 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:22:35.303 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (551 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (551 messages)"],"logger":"console"}
```
- Time: 06:22:35.299 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (551 messages), Type: -
- Time: 06:22:35.299 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:22:33.776 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: 06:22:33.773 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got endpoint, Type: -
- Time: 06:22:33.769 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:22:31.865 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: 06:22:31.855 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'int', Type: -
- Time: 06:22:31.852 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:22:00.657 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: 06:22:00.654 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'int', Type: -
- Time: 06:22:00.651 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 06:21:59.854 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:21:59.851 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID content, Type: -
- Time: 06:21:59.848 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:21:59.118 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '33', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '33'"],"logger":"console"}
```
- Time: 06:21:59.115 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '33', Type: -
- Time: 06:21:59.112 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:21:58.329 AM, Cat: console, Level: log, Msg: Sent error: Variant: Missing 'timestamp' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing 'timestamp' prop in Message component"],"logger":"console"}
```
- Time: 06:21:58.328 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing 'timestamp' prop in Message component, Type: -
- Time: 06:21:58.326 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:21:57.497 AM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '44', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '44'"],"logger":"console"}
```
- Time: 06:21:57.487 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '44', Type: -
- Time: 06:21:57.486 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:21:56.895 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: 06:21:56.894 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got timestamp, Type: -
- Time: 06:21:56.892 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:21:01.010 AM, Cat: console, Level: log, Msg: Sent error: Message history index out of range (16 messages), Type: -
### Data
```json
{"arguments":["Sent error: Message history index out of range (16 messages)"],"logger":"console"}
```
- Time: 06:21:01.009 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (16 messages), Type: -
- Time: 06:21:01.007 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:20:59.061 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: 06:20:59.059 AM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'int' prop in Message component, Type: -
- Time: 06:20:59.058 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 06:20:27.614 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:20:27.611 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch 'int', Type: -
- Time: 06:20:27.608 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:20:25.795 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: 06:20:25.792 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (int messages), Type: -
- Time: 06:20:25.790 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:20:24.892 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (891 messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (891 messages)"],"logger":"console"}
```
- Time: 06:20:24.888 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (891 messages), Type: -
- Time: 06:20:24.885 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:20:23.484 AM, Cat: console, Level: log, Msg: Sent error: Variant: Message history index out of range (timestamp messages), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Message history index out of range (timestamp messages)"],"logger":"console"}
```
- Time: 06:20:23.482 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (timestamp messages), Type: -
- Time: 06:20:23.480 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:20:21.815 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: 06:20:21.805 AM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID int, Type: -
- Time: 06:20:21.798 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:19:23.703 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: 06:19:23.698 AM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 06:19:23.697 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 06:19:22.259 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: 06:19:22.256 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got int, Type: -
- Time: 06:19:22.255 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 06:18:25.430 AM, Cat: console, Level: log, Msg: Sent error: Expected string for username, got timestamp, Type: -
### Data
```json
{"arguments":["Sent error: Expected string for username, got timestamp"],"logger":"console"}
```
- Time: 06:18:25.427 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got timestamp, Type: -
- Time: 06:18:25.424 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:18:24.167 AM, 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: 06:18:24.165 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'timestamp', Type: -
- Time: 06:18:24.164 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 06:18:23.588 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room '917', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room '917'"],"logger":"console"}
```
- Time: 06:18:23.585 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room '917', Type: -
- Time: 06:18:23.582 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 06:17:38.158 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: 06:17:38.157 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Expected string for username, got timestamp, Type: -
- Time: 06:17:38.155 AM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 06:17:36.931 AM, Cat: console, Level: log, Msg: Sent error: Variant: Chat object has no property '63', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Chat object has no property '63'"],"logger":"console"}
```
- Time: 06:17:36.927 AM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property '63', Type: -
- Time: 06:17:36.926 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 06:17:35.911 AM, 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: 06:17:35.904 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (content messages), Type: -
- Time: 06:17:35.898 AM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 05:19:57.038 AM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch 'int', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch 'int'"],"logger":"console"}
```
- Time: 05:19:57.036 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'int', Type: -
- Time: 05:19:57.035 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:19:55.941 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to send message in room 'timestamp', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to send message in room 'timestamp'"],"logger":"console"}
```
- Time: 05:19:55.938 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'timestamp', Type: -
- Time: 05:19:55.937 AM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 05:19:14.615 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: 05:19:14.611 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'endpoint', Type: -
- Time: 05:19:14.609 AM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 05:18:43.020 AM, Cat: console, Level: log, Msg: Sent error: API connection timed out during fetch '945', Type: -
### Data
```json
{"arguments":["Sent error: API connection timed out during fetch '945'"],"logger":"console"}
```
- Time: 05:18:43.016 AM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch '945', Type: -
- Time: 05:18:43.013 AM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 05:18:42.006 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: 05:18:41.996 AM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got int, Type: -
- Time: 05:18:41.987 AM, Cat: -, Level: info, Msg: Fetched chat history, 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: 407
- Username: demo_user_27
- Email: demo@example.com

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

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