Clerk Webhook Input Undefined

Iintiserx4/25/2023
Hi! I wrote a public procedure that takes in an input and updates user info based on Clerk Webhook. Clerk correctly pings the endpoint and the logic in the endpoint gets executed, but the input is undefined. I tried to ping the endpoint from postman with a request body. The request goes through but the input still says it's undefined.
Iintiserx4/25/2023
postman request
Nnlucas4/25/2023
Which adapter/integration are you using to run tRPC? Is it possible a middleware is messing with what arrives at tRPC?
Nnlucas4/25/2023
I've seen issues with common express middlewares being placed before the tRPC integration
Iintiserx4/25/2023
I'm using superjson as the transformer. And the project is from the t3-turbo-clerk template. All the other endpoints work perfectly as expected when called using useQuery from the frontend. The problem seems to be only happening when the request comes from an external source (the clerk webhook in this instance)
Iintiserx4/25/2023
Iintiserx4/26/2023
Fixed: I am new to trpc and didn't realize trpc endpoints aren't rest endpoints. Using trpc-openapi solved the issue