Issues
error

SyntaxError

SyntaxError: Expected property name or '}' in JSON at position 1 (line 1 column 2)

rails-shopnode
Events
1
First seen
2026-04-27 10:02:26.844
Last seen
2026-04-27 10:02:26.844
Status
unresolved
Stack trace
<anonymous>in JSON.parse
/private/tmp/sentry-test-2.mjs:21in ?in app
14 obj.totalize()
15 } catch (e) {
16 Sentry.captureException(e)
17 }
18
19 // Different error — should create a new issue
20 try {
21 JSON.parse('{not json}')
22 } catch (e) {
23 Sentry.captureException(e)
24 }
25
26 // String message (no exception)
27 Sentry.captureMessage('payment gateway returned 503', 'warning')
28
node:internal/modules/esm/module_job:437in ModuleJob.run
node:internal/modules/esm/loader:639in onImport.tracePromise.__proto__
node:internal/modules/run_main:101in asyncRunEntryPointWithESMLoader
Context
Contexts
{
  "trace": {
    "trace_id": "1162c35f17d54d019b3d3a0720513096",
    "span_id": "896f72b6c6148b62"
  },
  "runtime": {
    "name": "node",
    "version": "v25.9.0"
  },
  "app": {
    "app_start_time": "2026-04-27T10:02:25.691Z",
    "app_memory": 103628800,
    "free_memory": 3650174976
  },
  "os": {
    "kernel_version": "25.4.0",
    "name": "macOS",
    "version": "26.4.1",
    "build": "25E253"
  },
  "device": {
    "boot_time": "2026-04-24T19:43:30.863Z",
    "arch": "arm64",
    "memory_size": 17179869184,
    "free_memory": 666861568,
    "processor_count": 10,
    "cpu_description": "Apple M4",
    "processor_frequency": 2400
  },
  "culture": {
    "locale": "en-US",
    "timezone": "Africa/Nairobi"
  },
  "cloud_resource": {}
}
Recent events (1)
2026-04-27 10:02:26.844rails-shop@v1.2.3production2d4941fd0b344f2680f1cde0439dea99