Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
I am connecting the the JSON with JSON connector but getting the error Key should not be null or empty!. I have attached the error picture as well as file that is causing the problem. It would be quite helpful if you can help.
Thank you
https://drive.google.com/file/d/19kunblfwulGDe7GeicZiZzFR6zIgBh8o/view?usp=sharing
Hi @Junaid11 ,
As far as I am concerned,property has to be defined as nillable in the schema or else it will throw an exception.
If it is an array, it must be an array of strings, where each string is the name of one of the basic types, and each element is unique. In this case, the JSON snippet is valid if it matches any of the given types.
https://json-schema.org/understanding-json-schema/reference/type.html
Please check the [] and null property in your json file.
https://stackoverflow.com/questions/17487205/how-to-check-if-a-json-key-exists
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
55 | |
54 | |
54 | |
37 | |
29 |
User | Count |
---|---|
77 | |
62 | |
45 | |
40 | |
40 |