You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If using the new Single Fetch function, calling the endpoint where inngest is located with PUT, it throws the following error:
Unhandled error in Remix request
module: "remix"
err: {
"type": "SyntaxError",
"message": "Failed calling `body` from serve handler when checking body for request signing as method is PUT; Unexpected end of JSON input",
"stack":
SyntaxError: Failed calling `body` from serve handler when checking body for request signing as method is PUT; Unexpected end of JSON input
at JSON.parse (<anonymous>)
at parseJSONFromBytes (node:internal/deps/undici/undici:5584:19)
at successSteps (node:internal/deps/undici/undici:5555:27)
at fullyReadBody (node:internal/deps/undici/undici:1665:9)
at async specConsumeBody (node:internal/deps/undici/undici:5564:7)
at async Promise.all (index 2)
at InngestHandler (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/[email protected][email protected][email protected]/node_modules/src/components/InngestCommHandler.ts:755:41)
at async Object.callRouteAction (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected][email protected]/node_modules/@remix-run/server-runtime/dist/data.js:36:16)
at <anonymous> (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:4899:19)
at callLoaderOrAction (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:4963:16)
at async Promise.all (index 0)
at defaultDataStrategy (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:4772:17)
at callDataStrategyImpl (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:4835:17)
at callDataStrategy (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:3992:19)
at submit (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:3755:21)
at queryImpl (/Users/agustin/Developer/personal/afippi/node_modules/.pnpm/@[email protected]/node_modules/@remix-run/router/router.ts:3684:22)
To Reproduce
Steps to reproduce the behavior:
Start your application
Run curl -X PUT http://localhost:3000/api/inngest
System info
OS: macOS
Node version: 20
Inngest version: 3.23.1
The text was updated successfully, but these errors were encountered:
Describe the bug
If using the new Single Fetch function, calling the endpoint where inngest is located with PUT, it throws the following error:
To Reproduce
Steps to reproduce the behavior:
curl -X PUT http://localhost:3000/api/inngest
System info
The text was updated successfully, but these errors were encountered: