Skip to main content
No Result Found

Error - 413 Payload too large

Learn how to fix the Payload too large error in Percy.

In Percy, the payload too large error is caused by a resource exceeding the 20MB limit. To resolve it:

  • Minify or optimize resources: Reduce the size of your HTML, images, CSS, or JavaScript files to stay within the 20MB limit.
  • Enable gzip compression: Set the PERCY_GZIP=true environment variable before running your test suite to compress resources and avoid the error.

Reference Topic

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle