This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
Hi all,
I keep running in to a refresh error for my XML file. Background: A user accidentally changed the authentication token in our data source to which the XML file is connected to. the token was changed back to the original, but since then, when the table refreshes automatically, we encounter this error code:
DataFormat.Error: Xml processing failed. Either the input is invalid or it isn't supported. (Internal error: Reference to undeclared entity 'nbsp'. Line 4, position 23.). . The exception was raised by the IDbCommand interface.
Things that temporarily fixes it was to create a new parameter with the authtoken and then reference the xml file via dax to the new parameter it worked for about 24h, but when the next scheduled refresh came through, it failed again. always the same error code.
Thanks in advance,
L
Solved! Go to Solution.
Hi @CDEC ,
Regarding your question, could you please review your XML file: Line 4, position 23.
Replace 'nbsp' in the file with ' '.
Related content can be found in the following articles.
.net - Reference to undeclared entity 'nbsp' while reading xml from URL in c#? - Stack Overflow
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @CDEC ,
Regarding your question, could you please review your XML file: Line 4, position 23.
Replace 'nbsp' in the file with ' '.
Related content can be found in the following articles.
.net - Reference to undeclared entity 'nbsp' while reading xml from URL in c#? - Stack Overflow
Best Regards,
Wenbin Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 22 | |
| 19 | |
| 16 |