serval
serval9mo ago

HTTP 431: Input too long

Hi, we're using a complex query (multiple filters etc) with tRPC and react query integration. It happens, that the query is to big and the server returns a 431, due to http uri restrictions. There are some open PRs about this topic, but is there any workaround? We don't want to loose the useQuery semantics, so we don't want to change to mutation. Thanks
1 Reply
serval
serval9mo ago
GitHub
bug: Too long input causes failure HTTP 431 · Issue #4993 · trpc/t...
Provide environment information System: OS: Linux 5.15 Ubuntu 20.04.4 LTS (Focal Fossa) CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Memory: 12.16 GB / 15.55 GB Container: Yes Shell: 5.0....