Power Query Problems

How to Fix Power Query Cannot Extract Website Data or Load JSON in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 11, 2026 869 views

Question details

The user is unable to extract data from a website or import a JSON file using Power Query in Excel.

How to Fix Power Query Cannot Extract Website Data or Load JSON
Product
Microsoft Excel
Device & OS
not provided
Scenario
Importing web data or JSON files into Excel via Power Query.
Observed behavior
Power Query fails to connect or load the data, often due to missing database drivers, connection issues, or invalid JSON endpoints.
Before you start

Ensure that you have a stable internet connection and that the URL or local path to your JSON file is correct and accessible.

Solution 1Recommended

Update Database Drivers and Verify JSON Endpoint

Ensure required ODBC/OLE DB drivers are up to date and the JSON data source is valid and accessible.

Power Query relies on specific system drivers to interpret web protocols and database connections. If these drivers are outdated or missing, the connection will fail. Additionally, the web endpoint must return properly formatted JSON data.

1
Restart Excel

Close Microsoft Excel completely and reopen it to clear any temporary background connection errors or stalled queries.

2
Verify the endpoint in a browser

Copy the website URL or JSON endpoint and paste it into a standard web browser to confirm it is live and returns valid JSON code without requiring complex authentication.

3
Update ODBC / OLE DB drivers

Download and install the latest versions of the required ODBC or OLE DB drivers from your database provider's official website.

4
Reconnect via Power Query

Go to the Data tab in Excel, select 'Get Data', and choose 'From Web' or 'From File' > 'From JSON' to attempt the connection again.

Update Database Drivers and Verify JSON Endpoint
JSON Validation: You can use free online JSON validators to ensure the web endpoint's output has no syntax errors before trying to import it into Excel.
Free Microsoft Office alternative

Try WPS Office for Seamless Data Handling

If you frequently encounter complex driver issues, slow loading times, or import errors in Excel, consider switching to WPS Office. It provides a lightweight, highly compatible, and user-friendly spreadsheet application to manage your daily data and files without heavy resource demands.

Highly compatible with Microsoft Excel (.xlsx, .xls, .csv) file formats.Lightweight design ensures fast loading times for large datasets.Free built-in data filtering, sorting, and analytical tools.Familiar user interface requires no learning curve, enabling seamless migration.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Power Query say the JSON input is invalid?

This error occurs when the website's response is not formatted as strict JSON. It may contain HTML tags, trailing commas, or authentication error messages that disrupt the required JSON structure.

How do I check if my ODBC driver is installed in Windows?

Open the Windows Start menu and search for 'ODBC Data Sources'. Open the application and navigate to the 'Drivers' tab to see a complete list of all currently installed database drivers on your system.

Can I import a JSON file stored on my local hard drive?

Yes. In Excel, go to the Data tab, click 'Get Data', select 'From File', and then click 'From JSON'. Browse to the file location on your local drive, select the file, and click Import.

Does WPS Office support importing external data?

Yes, WPS Spreadsheets allows you to import external data from local files like CSV or text formats. You can access these import features via the Data tab by selecting 'Import Data'.