High severitydata source
Power BI Refresh Error:
UserErrorRestApiCallFailed
What does this error mean?
An Azure Data Factory Web activity or REST copy source/sink failed because the target REST API returned a non-success HTTP status code. The error carries the HTTP status code and response body from the target API.
Common causes
- 1The API returned HTTP 401 (unauthorized) — bearer token, API key, or OAuth credentials are invalid or expired
- 2The API returned HTTP 404 — the endpoint URL in the linked service or relative URL is incorrect
- 3The API returned HTTP 429 — the calling rate exceeds the API's rate limit
- 4The API returned HTTP 500 — a server-side error on the target API
How to fix it
- 1Check the error message for the HTTP status code and response body.
- 2For 401: refresh the authentication token, API key, or OAuth credentials in the ADF linked service.
- 3For 404: verify the endpoint URL is correct and the resource path exists.
- 4For 429: add a retry policy to the Web activity with exponential backoff.
- 5For 500: the error is server-side — check the target API's status page and retry after the issue resolves.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-rest