# Error
Variant: API connection timed out during fetch 'timestamp'

First seen: about 18 hours ago · Last seen: about 6 hours ago
Occurrences: 70
Resolved: No

## Info
- Message: API connection timed out during fetch '43'
- When: about 6 hours ago
- Occurred: 2025-11-13 20:47:40 UTC
- Occurred Local: 2025-11-13 20:47:40 (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: API connection timed out during fetch '43'
- 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)
8. http://localhost:8080/static/react-test-bundle.min.js, line 26:5442 in `r` (in_app)

## Breadcrumbs
- Time: 08:47:40.243 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 08:47:06.321 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:47:06.315 PM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (content messages), Type: -
- Time: 08:47:06.312 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 08:45:38.118 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: 08:45:38.115 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room 'int', Type: -
- Time: 08:45:38.112 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 08:45:06.408 PM, Cat: console, Level: log, Msg: Sent error: Variant: API connection timed out during fetch '49', Type: -
### Data
```json
{"arguments":["Sent error: Variant: API connection timed out during fetch '49'"],"logger":"console"}
```
- Time: 08:45:06.405 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: API connection timed out during fetch '49', Type: -
- Time: 08:45:06.404 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 08:45:04.984 PM, 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: 08:45:04.983 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got endpoint, Type: -
- Time: 08:45:04.983 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 08:45:04.296 PM, Cat: console, Level: log, Msg: Sent error: Variant: Missing '6' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing '6' prop in Message component"],"logger":"console"}
```
- Time: 08:45:04.295 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing '6' prop in Message component, Type: -
- Time: 08:45:04.293 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 08:45:02.732 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format '810', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '810'"],"logger":"console"}
```
- Time: 08:45:02.730 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '810', Type: -
- Time: 08:45:02.729 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 08:45:02.006 PM, 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: 08:45:01.999 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'endpoint', Type: -
- Time: 08:45:01.992 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 08:43:15.391 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: 08:43:15.388 PM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to send message in room 'content', Type: -
- Time: 08:43:15.387 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 08:43:13.687 PM, Cat: console, Level: log, Msg: Sent error: Missing '35' prop in Message component, Type: -
### Data
```json
{"arguments":["Sent error: Missing '35' prop in Message component"],"logger":"console"}
```
- Time: 08:43:13.684 PM, Cat: sentry.event, Level: error, Msg: TypeError: Missing '35' prop in Message component, Type: -
- Time: 08:43:13.681 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 08:43:11.785 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: 08:43:11.782 PM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (timestamp messages), Type: -
- Time: 08:43:11.779 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 08:42:30.102 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format 'endpoint', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format 'endpoint'"],"logger":"console"}
```
- Time: 08:42:30.101 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'endpoint', Type: -
- Time: 08:42:30.098 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 08:42:28.792 PM, 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: 08:42:28.788 PM, Cat: sentry.event, Level: error, Msg: TypeError: Missing 'timestamp' prop in Message component, Type: -
- Time: 08:42:28.785 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 08:42:27.161 PM, 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: 08:42:27.157 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Message not found with ID int, Type: -
- Time: 08:42:27.154 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 08:42:25.180 PM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room '486', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room '486'"],"logger":"console"}
```
- Time: 08:42:25.174 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room '486', Type: -
- Time: 08:42:25.171 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 08:41:37.716 PM, 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: 08:41:37.713 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'endpoint', Type: -
- Time: 08:41:37.713 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 08:41:36.405 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: 08:41:36.401 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format 'timestamp', Type: -
- Time: 08:41:36.398 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 08:41:34.947 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property 'int', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property 'int'"],"logger":"console"}
```
- Time: 08:41:34.944 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property 'int', Type: -
- Time: 08:41:34.944 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 08:41:33.421 PM, Cat: console, Level: log, Msg: Sent error: Invalid message format '17', Type: -
### Data
```json
{"arguments":["Sent error: Invalid message format '17'"],"logger":"console"}
```
- Time: 08:41:33.415 PM, Cat: sentry.event, Level: error, Msg: Error: Invalid message format '17', Type: -
- Time: 08:41:33.411 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:51:42.401 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:51:42.394 PM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (endpoint messages), Type: -
- Time: 07:51:42.388 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:50:38.683 PM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format '229', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format '229'"],"logger":"console"}
```
- Time: 07:50:38.680 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format '229', Type: -
- Time: 07:50:38.678 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:50:37.542 PM, 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: 07:50:37.539 PM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Message history index out of range (timestamp messages), Type: -
- Time: 07:50:37.536 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:50:06.947 PM, 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: 07:50:06.944 PM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing 'timestamp' prop in Message component, Type: -
- Time: 07:50:06.944 PM, Cat: -, Level: info, Msg: Fetched chat history, Type: -
- Time: 07:50:05.069 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '354', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '354'"],"logger":"console"}
```
- Time: 07:50:05.066 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '354', Type: -
- Time: 07:50:05.065 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:50:03.266 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:50:03.263 PM, Cat: sentry.event, Level: error, Msg: RangeError: Message history index out of range (timestamp messages), Type: -
- Time: 07:50:03.262 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:50:01.451 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:50:01.448 PM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'endpoint', Type: -
- Time: 07:50:01.446 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:50:00.464 PM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid message format 'content', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid message format 'content'"],"logger":"console"}
```
- Time: 07:50:00.463 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'content', Type: -
- Time: 07:50:00.461 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:49:28.747 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:49:28.744 PM, Cat: sentry.event, Level: error, Msg: Error: API connection timed out during fetch 'endpoint', Type: -
- Time: 07:49:28.743 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:49:27.257 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:49:27.256 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Variant: Chat object has no property 'int', Type: -
- Time: 07:49:27.256 PM, Cat: -, Level: info, Msg: User typing, Type: -
- Time: 07:49:26.671 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:49:26.671 PM, Cat: sentry.event, Level: error, Msg: Error: Message not found with ID int, Type: -
- Time: 07:49:26.670 PM, Cat: -, Level: info, Msg: Attachment uploaded, Type: -
- Time: 07:49:26.015 PM, Cat: console, Level: log, Msg: Sent error: Chat object has no property '46', Type: -
### Data
```json
{"arguments":["Sent error: Chat object has no property '46'"],"logger":"console"}
```
- Time: 07:49:26.007 PM, Cat: sentry.event, Level: error, Msg: ReferenceError: Chat object has no property '46', Type: -
- Time: 07:49:26.000 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:48:54.410 PM, Cat: console, Level: log, Msg: Sent error: Variant: User lacks permission to send message in room '9', Type: -
### Data
```json
{"arguments":["Sent error: Variant: User lacks permission to send message in room '9'"],"logger":"console"}
```
- Time: 07:48:54.405 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: User lacks permission to send message in room '9', Type: -
- Time: 07:48:54.403 PM, Cat: -, Level: info, Msg: Message sent, Type: -
- Time: 07:48:53.687 PM, 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: 07:48:53.684 PM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid message format 'int', Type: -
- Time: 07:48:53.681 PM, Cat: -, Level: info, Msg: User joined room, Type: -
- Time: 07:48:52.678 PM, 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: 07:48:52.677 PM, Cat: sentry.event, Level: error, Msg: TypeError: Expected string for username, got timestamp, Type: -
- Time: 07:48:52.677 PM, 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: 910
- Username: demo_user_33
- Email: demo@example.com

## Extras
- context: {"component" => "MessageFetcher", "endpoint" => "rooms"}
- debug_info: {"key" => "value1"}
- request_method: PUT
- url: /chat/rooms/59

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