Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hello,
I'm receiving this error when opening a PBIX desktop file. How can I fix it? It doesn't even say what file is impacted and I can't open the desktop file to see where the error is. I have the latest version of PBI desktop downloaded.
The path name referenced is unfamiliar - Path 'DirectQueryResources', line 1, position 1765.
Error Message:
Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.IReadOnlyDictionary`2[System.String,Microsoft.PowerBI.Packaging.Storage.DirectQueryResourceInfoStorage]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path 'DirectQueryResources', line 1, position 1765.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.