Unexpected error from file storage: Request body larger than maxBodyLength limit error Command failed with exit code 255

I see this weird error for the first time when running xdn deploy:

Something went wrong while uploading your package.
Please try again later and contact support if the problem persists

Unexpected error from file storage: Request body larger than maxBodyLength limit
error Command failed with exit code 255.

How to prevent that?

XDN version: v2.39.0
Framework: Angular

This is an issue with CLI and the fix has been released in v2.39.3

Run xdn use latest to upgrade to a latest version that contains a fix.

1 Like

That’s so quick. It works! Thanks.