# TypeError
Variant: Expected string for slug, got int

First seen: about 5 hours ago · Last seen: about 5 hours ago
Occurrences: 7
Resolved: No

## Info
- Message: Variant: Expected string for slug, got int
- When: about 5 hours ago
- Occurred: 2025-11-13 08:10:03 UTC
- Occurred Local: 2025-11-13 08:10:03 (Etc/UTC)
- Handled: Yes
- Severity: error
- Environment: production
- Platform: javascript
- Project: Chat Frontend
- Release Version: blog_platform-v1.0
- Sourcemap Applied: No

## Backtrace
### Main
- Type: TypeError
- Value: Variant: Expected string for slug, got int
- Module: -

1. http://localhost:8080/static/react-test-bundle.min.js, line 467:7037 in `o` (in_app)
2. http://localhost:8080/static/react-test-bundle.min.js, line 467:7065 in `J4` (in_app)
3. http://localhost:8080/static/react-test-bundle.min.js, line 467:7949 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:7310 in `yR` (in_app)

## Breadcrumbs
- Time: 08:10:03.713 AM, Cat: -, Level: info, Msg: Form submitted, Type: -
- Time: 08:10:02.056 AM, Cat: console, Level: log, Msg: Sent error: Variant: Comment index out of range (title comments), Type: -
### Data
```json
{"arguments":["Sent error: Variant: Comment index out of range (title comments)"],"logger":"console"}
```
- Time: 08:10:02.052 AM, Cat: sentry.event, Level: error, Msg: RangeError: Variant: Comment index out of range (title comments), Type: -
- Time: 08:10:02.046 AM, Cat: -, Level: info, Msg: Form submitted, Type: -
- Time: 08:09:30.680 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to edit post '911', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to edit post '911'"],"logger":"console"}
```
- Time: 08:09:30.677 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to edit post '911', Type: -
- Time: 08:09:30.676 AM, Cat: -, Level: info, Msg: Form submitted, Type: -
- Time: 08:09:30.145 AM, Cat: console, Level: log, Msg: Sent error: Comment index out of range (title comments), Type: -
### Data
```json
{"arguments":["Sent error: Comment index out of range (title comments)"],"logger":"console"}
```
- Time: 08:09:30.144 AM, Cat: sentry.event, Level: error, Msg: RangeError: Comment index out of range (title comments), Type: -
- Time: 08:09:30.141 AM, Cat: -, Level: info, Msg: User loaded page, Type: -
- Time: 08:09:28.278 AM, Cat: console, Level: log, Msg: Sent error: Invalid email format '257', Type: -
### Data
```json
{"arguments":["Sent error: Invalid email format '257'"],"logger":"console"}
```
- Time: 08:09:28.276 AM, Cat: sentry.event, Level: error, Msg: Error: Invalid email format '257', Type: -
- Time: 08:09:28.275 AM, Cat: -, Level: info, Msg: Query executed, Type: -
- Time: 08:09:26.736 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to edit post '85', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to edit post '85'"],"logger":"console"}
```
- Time: 08:09:26.734 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to edit post '85', Type: -
- Time: 08:09:26.733 AM, Cat: -, Level: info, Msg: Form submitted, Type: -
- Time: 08:09:25.894 AM, Cat: console, Level: log, Msg: Sent error: Variant: Missing 'search_term' key in form data, Type: -
### Data
```json
{"arguments":["Sent error: Variant: Missing 'search_term' key in form data"],"logger":"console"}
```
- Time: 08:09:25.892 AM, Cat: sentry.event, Level: error, Msg: TypeError: Variant: Missing 'search_term' key in form data, Type: -
- Time: 08:09:25.891 AM, Cat: -, Level: info, Msg: Query executed, Type: -
- Time: 08:09:24.309 AM, Cat: console, Level: log, Msg: Sent error: Variant: Invalid email format '277', Type: -
### Data
```json
{"arguments":["Sent error: Variant: Invalid email format '277'"],"logger":"console"}
```
- Time: 08:09:24.306 AM, Cat: sentry.event, Level: error, Msg: Error: Variant: Invalid email format '277', Type: -
- Time: 08:09:24.305 AM, Cat: -, Level: info, Msg: Form submitted, Type: -
- Time: 08:07:05.459 AM, Cat: console, Level: log, Msg: Sent error: User lacks permission to edit post 'content', Type: -
### Data
```json
{"arguments":["Sent error: User lacks permission to edit post 'content'"],"logger":"console"}
```
- Time: 08:07:05.457 AM, Cat: sentry.event, Level: error, Msg: Error: User lacks permission to edit post 'content', Type: -
- Time: 08:07:05.453 AM, Cat: -, Level: info, Msg: User loaded page, Type: -
- Time: 08:07:04.385 AM, Cat: console, Level: log, Msg: Sent error: Comment index out of range (search_term comments), Type: -
### Data
```json
{"arguments":["Sent error: Comment index out of range (search_term comments)"],"logger":"console"}
```
- Time: 08:07:04.384 AM, Cat: sentry.event, Level: error, Msg: RangeError: Comment index out of range (search_term comments), Type: -
- Time: 08:07:04.375 AM, Cat: -, Level: info, Msg: User loaded page, Type: -
- Time: 08:07:04.374 AM, Cat: console, Level: log, Msg: Sentry initialized, Type: -
### Data
```json
{"arguments":["Sentry initialized"],"logger":"console"}
```

## Tags
- app: blog_platform
- environment: test
- technology: react
- version: 8.0.0

## Contexts
### trace
```json
{"trace_id":"4e504471ed054f809fe99456350e5f38","span_id":"9b0afc474e56c027"}
```

## 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: 726
- Username: demo_user_66
- Email: demo@example.com

## Extras
- context: {"view" => "PostListView", "slug" => 85}
- debug_info: {"key" => "value2"}
- request_method: POST
- url: /posts/13

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