Data Ingestion and Transformation

An ingestion client receives HTTP 401 from a vendor API because its OAuth 2.0 access token has expired. The client has a valid refresh token; what should it do next?

Show the answer

Correct answerD. Obtain a new access token from the token endpoint.

AWhy not this: A refresh token is used at the token endpoint, not as the data API's bearer access token.

BWhy not this: An IP allowlist change does not resolve an expired OAuth access token.

CWhy not this: Waiting can address throttling, but it does not renew an expired access token.

DWhy this is right: The token endpoint can exchange a valid refresh token for a new access token.

A valid refresh token can obtain a new access token from the authorization server's token endpoint. Sending the refresh token directly to the data API misuses a credential intended for token renewal.