question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

RequestFailedException: Service request failed. Status: 403 (This request is not authorized to perform this operation using this permission.)

See original GitHub issue

Build

https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=34525

Build leg reported

coreclr Pri0 Runtime Tests Run OSX x64 checked / Send tests to Helix (Unix)

Pull Request

https://github.com/dotnet/runtime/pull/76357

Action required for the engineering services team

To triage this issue (First Responder / @dotnet/dnceng):

  • Open the failing build above and investigate
  • Add a comment explaining your findings

If this is an issue that is causing build breaks across multiple builds and would get benefit from being listed on the build analysis check, follow the next steps:

  1. Add the label “Known Build Error”
  2. Edit this issue and add an error string in the Json below that can help us match this issue with future build breaks. You should use the known issues documentation
{
   "ErrorMessage" : "x-ms-error-code: AuthorizationPermissionMismatch",
   "BuildRetry": false
}

Additional information about the issue reported

No response

Report

Build Definition Step Name Console log Pull Request
57154 dotnet/roslyn Test Log dotnet/roslyn#64824
56814 dotnet/roslyn Test Log
56417 dotnet/roslyn Test Log dotnet/roslyn#64804
56287 dotnet/runtime Send tests to Helix (Unix) Log dotnet/runtime#77052
52971 dotnet/roslyn Test Log dotnet/roslyn#64740
52258 dotnet/runtime Send to Helix Log dotnet/runtime#76949
50744 dotnet/roslyn Test Log
42483 dotnet/runtime Send tests to Helix (Unix) Log
37694 dotnet/runtime Send tests to Helix (Unix) Log
35359 dotnet/roslyn Test Log
35045 dotnet/roslyn Test Log
34525 dotnet/runtime Send tests to Helix (Unix) Log
34499 dotnet/runtime Send tests to Helix (Unix) Log

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 4 13

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
MattGalcommented, Oct 21, 2022

@jkotas I have hardened against this in https://github.com/dotnet/arcade/pull/11364. Once this merges and flows, this mode of failure won’t happen; there will be multiple retries before giving up and giving up will simply print a warning.

One thing to note here is that the reason this is so rare, and the reason you’re hitting this issue, very likely may be because you are uploading the same payload twice somewhere; the code path in question can only hit if an HTTP 409 throws when uploading the payload (we then check if it exists and do nothing if so). My change should make this non-fatal in all cases either way.

1reaction
MattGalcommented, Sep 29, 2022

Added a bit of the error message, this looks like a super rare issue with Azure storage where the drop container’s SAS URI received from the Helix API was not valid for the Helix SDK. This happens many 10s of thousands of times a day so if it’s reproducible at all it should get lots of hits.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Status=403 Code="AuthorizationFailure" Message="This ...
Status =403 Code="AuthorizationFailure" Message="This request is not authorized to perform this operation" ... From some research and debugging ...
Read more >
Status 403: This request is not authorized to perform ...
Status 403 : This request is not authorized to perform this operation using this permission occurs when using Azure tools; here's the fix!...
Read more >
Error: This request is not authorized to perform ...
Hi , I see the below error when I run a databricks notebook from ADF. Operation failed: "This request is not authorized to...
Read more >
Azure Blob storage unauthorized 403 while access from ...
Azure. RequestFailedException: This request is not authorized to perform this operation. Status: 403 (This request is not authorized to perform ...
Read more >
Fix: This Request is Not Authorized to Perform This Operation
When trying to access content on Azure storage accounts, you receive this error: This request is not authorized to perform this operation.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found