#community-help

Resolving PAYLOAD_TOO_LARGE Error on Self-Hosted Typesense Server

TLDR Dhruvil is receiving a PAYLOAD_TOO_LARGE error while using the indexing multiple documents API on a self-hosted Typesense server. Kishore Nallan suggests checking if there is another server in front of Typesense, as the error appears to not originate from Typesense.

Powered by Struct AI
Oct 10, 2023 (1 month ago)
Dhruvil
Photo of md5-d2f23d4fe51519041fa1e22356b58253
Dhruvil
05:52 AM
👋 Hi everyone!
I'm getting below error when I'm using indexing multiple documents API.
2023-10-10 11:11:14.516 Response 413 PAYLOAD_TOO_LARGE
org.springframework.web.client.HttpClientErrorException: 413 Request Entity Too Large: "<html><EOL><EOL><head><title>413 Request Entity Too Large</title></head><EOL>
at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:145)

What is the solution for this and how can I increase Payload size for self hosted typesense server?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
06:14 AM
Do you use nginx or some other server in front of Typesense? This is not a Typesense error.