0

We are trying to upload files with the AuraClient.

Getting error: auraclientinputexception max message parameter length. The limit is even smaller in our sandbox server (3MB or so) enter image description here

Is there a way to increase this limit in the production server? Is there a way to increase limit in a sandbox server?

2
  • Is your ask about custom lightning upload? Mar 14 at 13:06
  • I'm not familiar with custom lightning upload. I"m not the Dev, I'm the PdM Mar 16 at 13:29

1 Answer 1

1

lightning:uploadFile has the higher 2GB limit for file uploads. The downside is that you don't get to read the file beforehand, but you do get the contentDocumentId value that you can use to perform other operations with the file afterwards. This component isn't available in LWR Digital Experiences, unfortunately, but works fine in most other places, including Flows, the UI, and non-LWR Digital Experiences.

2
  • 1
    I think you mean lightning:fileUpload (or its LWC counterpart, lightning-file-upload) 😊
    – Jeff Kranz
    Mar 14 at 14:45
  • @JeffKranz I did, actually. Missing my morning ☕, lol. Thanks for letting me know.
    – sfdcfox
    Mar 14 at 14:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .