2022 Developer Survey is open! Take survey.

New answers tagged

4 votes
Accepted

Parsing JSON in apex - getting error System.StringException: Unrecognized base64 character: {

Your simplification of the JSON here is detrimental, and is obscuring the issue. For purposes of providing an answer, I'll assume that there is some Base64 encoded string somewhere inside of the JSON ...
user avatar
  • 46.9k
0 votes

Adding 1 required field on the content version object

We can't Expose custom fields on ContentVersion when uploading files. Refer the Idea
user avatar
0 votes

Adding 1 required field on the content version object

Sadly it is not possible to use the required custom fields on the content version object with the default upload. you have 2 options: customize the upload, using a flow, Aura, or LWC. auto-fill that ...
user avatar
0 votes

Converting Lead to Contact Related Record Files are not attaching to Contact record

When you convert a Lead, some things happen automatically as per the doc When you convert a lead, Salesforce creates an account, contact, and optionally an opportunity, using information from the ...
user avatar
  • 61.4k

Top 50 recent answers are included