From b69716c3fdaf014cbc2883120668394c096d5ecb Mon Sep 17 00:00:00 2001 From: nick-gagliardi <133918568+nick-gagliardi@users.noreply.github.com> Date: Tue, 26 Sep 2023 12:03:59 -0400 Subject: [PATCH] Update request-tokens.md Included specifics for HTTP 4xx error codes in quickstart. --- .../flows/guides/device-auth/includes/request-tokens.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/articles/flows/guides/device-auth/includes/request-tokens.md b/articles/flows/guides/device-auth/includes/request-tokens.md index f8858f5257..d2b1de6a53 100644 --- a/articles/flows/guides/device-auth/includes/request-tokens.md +++ b/articles/flows/guides/device-auth/includes/request-tokens.md @@ -50,6 +50,8 @@ While you wait for the user to authorize the device, you may receive a few diffe You will see this error while waiting for the user to take action. Continue polling using the suggested interval retrieved in the previous step of this tutorial. ```json +`HTTP 403` + { "error": "authorization_pending", "error_description": "..." @@ -61,6 +63,8 @@ You will see this error while waiting for the user to take action. Continue poll You are polling too fast. Slow down and use the suggested interval retrieved in the previous step of this tutorial. To avoid receiving this error due to network latency, you should start counting each interval after receipt of the last polling request's response. ```json +`HTTP 429` + { "error": "slow_down", "error_description": "..." @@ -76,6 +80,8 @@ Then `expired_token` error will be returned exactly once; after that, the dreade ::: ```json +`HTTP 403` + { "error": "expired_token", "error_description": "..." @@ -87,6 +93,8 @@ Then `expired_token` error will be returned exactly once; after that, the dreade Finally, if access is denied, you will receive: ```json +`HTTP 403` + { "error": "access_denied", "error_description": "..."