Skip to main content

I have one issue in salesforce to upload large files like more than 3 MB.

 

LWC JS ::

import upload from '@salesforce/apex/Upload.upload'; export default class UploadSample extends LightningElement {     handleUpload() {         upload({ data: {}}) /* large body */     } }

 

It works fine with data less than 3 Mb. How to resolve my issue to be able to send a larger body

 ? 

if more than 3MB data sending from lwc js to apex, it's not working if less than < 3 MB it's working fine. please let me know if anyone helps me on this issue.

 

Error :: {"status":500,"body":{},"headers":{}} 

0/9000