I got the following error message when trying to create attachment in Salesforce.
#<Encoding::UndefinedConversionError: "\xBF" from ASCII-8BIT to UTF-8>
How to fix?
If the attachment body is not already encoded using base64, use formula mode and try adding .encode_base64 right after the body
Send us a ticket, we will try our best to assist you with your problem
Saul Macht
Error when creating attachment in Salesforce
I got the following error message when trying to create attachment in Salesforce.
#<Encoding::UndefinedConversionError: "\xBF" from ASCII-8BIT to UTF-8>
How to fix?
If the attachment body is not already encoded using base64, use formula mode and try adding .encode_base64 right after the body
Amanda Wong
If the attachment body is not already encoded using base64, use formula mode and try adding .encode_base64 right after the body