Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@atheriel
Copy link
Collaborator

Previously we were trying to access a non-existent field in the response. Now we show both the error code and the message. For example:

Error in `req_perform_connection()` at elmer/R/httr2.R:36:3:
! HTTP 401 Unauthorized.
• PermissionDenied: Principal does not have access to API/Operation.

Previously we were trying to access a non-existent field in the
response. Now we show both the error code and the message. For example:

    Error in `req_perform_connection()` at elmer/R/httr2.R:36:3:
    ! HTTP 401 Unauthorized.
    • PermissionDenied: Principal does not have access to API/Operation.

Signed-off-by: Aaron Jacobs <[email protected]>
@hadley
Copy link
Member

hadley commented Jan 24, 2025

Came up in #271 too.

@hadley hadley merged commit 752855b into main Jan 24, 2025
11 checks passed
@hadley hadley deleted the fix-azure-req-error branch January 24, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants