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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi everyone,
I'm running into an error when opening PBIX files that colleagues shared via a Microsoft Teams channel (SharePoint document library).
Error message:
"An SQL error occurred or the database is missing. SQLite error code=1"
Symptoms:
Questions:
Any insight would be appreciated. Thanks!
Solved! Go to Solution.
1. Power BI keeps internal metadata in a SQLite store inside the PBIX. Your older Desktop doesn't recognize the newer schema, so it fails to read it and reports code=1
2. Yes, that's it. The files that open are from colleagues on your version or older. The ones that fail are from newer builds.
Fix: get everyone on the latest Desktop. Version drift across the team is the real problem, not the files.
If this answer helped, please click 👍 or Accept as Solution.
-Kedar
LinkedIn: https://www.linkedin.com/in/kedar-pande
Hi @lh2275
We wanted to follow up to check if you’ve had an opportunity to review the previous responses. If you require further assistance, please don’t hesitate to let us know.
Hi @lh2275
Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.
Hi,
SQLite Error Code 1 usually indicates that Power BI cannot read or write to its local SQLite metadata database correctly. This can happen due to a corrupted local cache, an interrupted write operation, or insufficient disk space.
A few things you could check are:
* Restart Power BI Desktop and verify there is sufficient free disk space.
* Clear the local Power BI cache (if appropriate) and reopen the report.
* If the issue started after upgrading Power BI Desktop, try opening the PBIX with the latest version.
* If the PBIX file itself is affected, test whether the same error occurs with a new report.
Could you also share:
* The complete error message and error details.
* Whether the error occurs while opening the PBIX, refreshing data, or saving the report.
* The version of Power BI Desktop you're using.
* Whether the file is stored locally or on a network/OneDrive location.
These details will help determine whether the issue is related to the PBIX file, the local metadata database, or the environment.
To narrow it down:
1. Power BI keeps internal metadata in a SQLite store inside the PBIX. Your older Desktop doesn't recognize the newer schema, so it fails to read it and reports code=1
2. Yes, that's it. The files that open are from colleagues on your version or older. The ones that fail are from newer builds.
Fix: get everyone on the latest Desktop. Version drift across the team is the real problem, not the files.
If this answer helped, please click 👍 or Accept as Solution.
-Kedar
LinkedIn: https://www.linkedin.com/in/kedar-pande
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 26 | |
| 23 | |
| 23 | |
| 14 |
| User | Count |
|---|---|
| 46 | |
| 33 | |
| 20 | |
| 18 | |
| 16 |