sfdx-lightning-api-component icon indicating copy to clipboard operation
sfdx-lightning-api-component copied to clipboard

REST Request from FSC Community throwing a 500 error

Open moiyyadSF opened this issue 1 year ago • 1 comments

We are creating ContentVersion records using REST request in Salesforce FSC Community by first taking file input using the lightning-input lwc component and then using this component the to create the Content Version in Salesforce.

The problem we are facing is, when used in an FSC Community in a Sandbox or Dev Org, this component is throwing a 500 error as follows:

image

Internal Server Error - Write

The server encountered an internal error or misconfiguration and was unable to complete your request. Reference #4.5ebd7768.1678277770.51db374

The result is the same for creation of objects other than ContentVersion like Account

However the component works fine when used in a regular Salesforce Scratch/Dev Org Community.

@douglascayers or @SalesforceBobLightning, I would appreciate if you could provide any thoughts on this

moiyyadSF avatar Mar 08 '23 14:03 moiyyadSF

@douglascayers @SalesforceBobLightning I'll appreciate your input

mhamzas avatar Mar 09 '23 09:03 mhamzas