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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Not applicable

"We Found extra characters at the end of JSON input" BSON data

Hello people!


I'm using the CData connector to use mongodb with power bi in direct query mode (btw if you know a better way to do it please let me know as well) but when I connect pbi to the collection I'm getting the messaje in subject. The collection was imported to mongodb from a dump file and has some bson data types (BinData, NumberLong, NumberInt). 


Do you know how to deal with this?




Not applicable

Hi @v-jingzhang, Gonna try it and let you now, thanks!

Community Support
Community Support

Hi @Anonymous 


I found a solution from this link but haven't tested yet.



Additionally, for the data type you circled, it seems there is possibility transforming BinData to String and NumberLong/NumberInt to Long/Int.


Community Support Team _ Jing Zhang
If this post helps, please consider Accept it as the solution to help other members find it.

Helpful resources

Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.