Google Sheets IMPORTDATA Not Working: CSV and TSV Troubleshooting

Published by AppFixLab · Published

Quick answer: IMPORTDATA fetches CSV or TSV data from a URL. When it fails, check the actual URL response and whether it contains publicly retrievable CSV/TSV data, rather than repeatedly re-entering the formula. A page that displays a table is not automatically a direct CSV feed.

Before changing a shared spreadsheet: Work on a copy or review version history when a fix could overwrite data. Menu labels may change as Google Sheets updates.

Start with the expected function syntax

For a CSV/TSV endpoint, the typical form is =IMPORTDATA("https://example.com/data.csv"). Replace the example URL with the intended file. Google documents IMPORTDATA as an external-data function intended for CSV/TSV data.

Check what the URL actually returns

Open the source URL separately. Does it deliver raw CSV or TSV, or does it redirect to a login page, HTML preview, access-denied response, or temporary download? A URL requiring browser authentication may not be accessible to a Sheets import function. If sharing is restricted, do not expose confidential data publicly to make the formula work.

Separate a source outage from a formula problem

When a server is unavailable or its response changes, Sheets cannot reliably import it. Confirm the source owner’s supported export endpoint. A link to a website page is not interchangeable with a direct CSV/TSV link.

Check external-access messages

If Sheets displays an external-data warning, an editor must review it and choose Allow access before the import can fetch data. If the message says an administrator has not allowed imports from a URL, ask the administrator about the restriction; do not change sharing to bypass it.

Consider size, frequency and limits

Google treats IMPORTDATA as an external data function and documents usage limits for the import-function family. Many changing external imports can produce delays or throttling. Reduce duplicate imports. Google documents that overwriting the same formula triggers a refresh, while reloading the spreadsheet does not; repeated overwrites are not a remedy for an unavailable source or throttling.

When a scheduled feed is unnecessary

If you only need a one-time snapshot, downloading the CSV and importing it through the Sheets interface may be simpler, assuming you have permission. A manually imported snapshot will not synchronize automatically. For regular controlled ingestion, consider an approved scheduled workflow rather than fragile chains of imports.

Related issues to distinguish

If an import succeeds but identifiers lose leading zeros, that is a data-type interpretation issue rather than a failed download. If the external file is a Google spreadsheet, evaluate IMPORTRANGE instead of IMPORTDATA. Keep troubleshooting separate from access permissions and data formatting.

Related AppFixLab guides

Official references

Editorial transparency: This guide synthesizes published Google documentation and illustrative diagnostics. AppFixLab has not independently reproduced every scenario in a live Google Sheet.

Related guides