diff --git a/apps/nextjs/src/app/[locale]/_client-providers/trpc.tsx b/apps/nextjs/src/app/[locale]/_client-providers/trpc.tsx index 3d2042030..2588cf44a 100644 --- a/apps/nextjs/src/app/[locale]/_client-providers/trpc.tsx +++ b/apps/nextjs/src/app/[locale]/_client-providers/trpc.tsx @@ -94,6 +94,7 @@ export function TRPCReactProvider(props: PropsWithChildren) { false: unstable_httpBatchStreamLink({ transformer: superjson, url: getTrpcUrl(), + maxURLLength: 2083, // Suggested by tRPC: https://trpc.io/docs/client/links/httpBatchLink#setting-a-maximum-url-length headers: createHeadersCallbackForSource("nextjs-react (json)"), }), }),