Skip to main content
Demo Project

ERR_INVALID_ARG_TYPE in Frontend Service Input Handling

Errornodejs
Events
Users0
Notify

Error Frequency

Highlights

trace.id
b6ca82bd5f115b006d140428d8ef7ae8

Contexts

Runtime

runtime
nodejs
service
frontend

Trace

trace.id
b6ca82bd5f115b006d140428d8ef7ae8
span.id
476a15a0c4522fa7
parent_span.id
c7df2ae650c67a24

Stack trace

Error message
The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object
p [as handler] (/app/.next/server/chunks/_1mapfd3._.js:1
Raw
TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object
    at Buffer.from (node:buffer:364:9)
    at setAttributes (/app/node_modules/@monoscopetech/common/dist/apitoolkit.js:26:41)
    at /app/node_modules/@monoscopetech/next/dist/main.js:85:44
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async tO (/app/node_modules/next/dist/compiled/next-server/pages-api-turbo.runtime.prod.js:1:107804)
    at async tA.render (/app/node_modules/next/dist/compiled/next-server/pages-api-turbo.runtime.prod.js:1:108519)
    at async Module.p [as handler] (/app/.next/server/chunks/_1mapfd3._.js:1:3204)
    at async NextNodeServer.runApi (/app/node_modules/next/dist/server/next-server.js:700:9)
    at async NextNodeServer.handleCatchallRenderRequest (/app/node_modules/next/dist/server/next-server.js:335:37)
    at async NextNodeServer.handleRequestImpl (/app/node_modules/next/dist/server/base-server.js:979:17)

Event grouping

Events join this issue when their fingerprint matches: the error type, the message with volatile parts (ids, numbers, hex) replaced, the service, the span name, and the in-app frames.

normalized
The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received an instance of Object
fingerprint
f56f404c
across routes
f56f404c

Trace

Logs

All events