High severitydata source
Power BI Refresh Error:
RestSinkCallFailed
What does this error mean?
An ADF copy activity writing data to a REST API endpoint (REST sink) received an error response from the target API. The HTTP call to the REST endpoint failed.
Common causes
- 1The REST API returned a non-success HTTP status code (4xx or 5xx)
- 2The API authentication token or API key is expired or invalid
- 3The request payload format does not match what the REST API expects (wrong JSON structure, missing required fields)
- 4The REST endpoint is temporarily unavailable or rate-limiting requests
How to fix it
- 1Check the ADF activity run output for the HTTP status code and response body returned by the REST API.
- 2Verify that the REST linked service authentication credentials (Bearer token, API key, OAuth) are valid and not expired.
- 3Review the request body mapping in the copy activity sink to ensure it matches the REST API contract.
- 4If the API is rate-limiting, add a retry policy to the copy activity with exponential backoff.
- 5Test the REST endpoint directly (e.g., with Postman) using the same credentials and payload to isolate the issue.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/connector-troubleshoot-rest