web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Base-64 string error

(2) ShareShare
ReportReport
Posted on by 16
Re-formatted data in excel sheet to text, there are no Blob or image fields, however, there is still this error
Screenshot 2025-04-16 103337.png
I have the same question (0)
  • Suggested answer
    Holly Huffman Profile Picture
    6,538 Super User 2025 Season 2 on at
    Good morning, afternoon, or evening depending on your location!
     
    The Base-64 string error in your Excel sheet might occur due to hidden or unexpected data formats, even if there are no Blob or image fields.
    Possible Causes:
    1. Hidden Base-64 Encoded Data:
      • There might be hidden Base-64 encoded strings in the Excel sheet that are not visible in the text format.
      • These could be remnants of previous operations or embedded objects.
    2. Formatting Issues:
      • The re-formatting process might not have fully converted all fields to plain text, leaving some data in Base-64 format.
    3. External References:
      • The sheet might contain links or references to external files that include Base-64 encoded data.
    Solutions:
    1. Inspect the Data:
      • Use Excel's Find and Replace feature to search for patterns like data:image/png;base64 or other Base-64 prefixes.
      • Check for hidden rows, columns, or sheets that might contain encoded data.
    2. Clear Formatting:
      • Select all cells and use the Clear Formats option to ensure all data is plain text.
    3. Export and Re-import:
      • Export the sheet to a CSV file and re-import it into Excel. This process can strip out hidden formatting and embedded objects.
    4. Check for Macros or Scripts:
      • If the sheet uses VBA macros or scripts, review the code for any operations involving Base-64 encoding.
    5. Use Data Validation:
      • Apply data validation rules to ensure that only plain text is entered in the relevant fields.
     
    Hope this is helpful :)
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,529 Super User 2025 Season 2 on at

    Hidden Characters or Formatting: Even if cells look like text, Excel may include hidden formatting or non-printable characters. Fix: Save the file as CSV UTF-8 (Comma delimited) and open it in a plain text editor (like Notepad++)

    Use the "Validate" action in the Configuration Package before applying data. It can point out issues line by line.

    Thanks, Ramesh

    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.

     
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,603 Super User 2025 Season 2 on at
    You're getting the error because Business Central is trying to decode a Base-64 string, but the input contains invalid characters—this usually happens when a field is expected to contain a Blob or Media (which requires proper Base-64 encoding), but you're importing plain or malformed text instead.
    Even if your Excel sheet has only text, a field might still be mapped to a binary type, or there may be hidden characters, formatting, or corruption in the data. To fix it, check your import mapping for any Blob or Media fields, clean the Excel data by copying it into Notepad and back to strip hidden formatting, and ensure no fields contain invalid characters for Base-64.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans