Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

XML API call not working

Hi everyone,

When I try to refresh my report I get the following error both in desktop as in the service:

 

Xml processing failed. Either the input is invalid or it isn't supported. (Internal error: '=' is an unexpected token. The expected token is ';'. Line 4, position 106.)

 

 I am trying to connect to the following XML files through an API:

 

https://stat.nbb.be/restsdmx/sdmx.ashx/GetData/CONSN/CCI+COM+FES+FUN+FFS+FSH.BE.M/all?startTime=1990...

And

https://stat.nbb.be/restsdmx/sdmx.ashx/GetData/BUSSURVM/SYNC.A999+T000+T010+T020+T030+T040+T050+T060...

 

Does anyone know whether and how I can solve this? Thanks!

1 REPLY 1
v-zhangti
Community Support
Community Support

Hi, @Anonymous 

 

Please check the following link, hope it can help you.

https://stackoverflow.com/questions/50955204/xml-is-an-unexpected-token-the-expected-token-is 

https://community.powerbi.com/t5/Desktop/Xml-processing-failed/m-p/890204 

https://community.powerbi.com/t5/Power-Query/XML-encoding-issue-unexpected-token-string-with-amp/td-p/1534789 

 

Best Regards,

Community Support Team _Charlotte

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.