You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse[1]> res
$message
[1] "Validation Failed"
$errors
[1] "Validation failed: This SHA and context has reached the maximum number of statuses."
$documentation_url
[1] "https://docs.github.com/rest/commits/statuses#create-a-commit-status"
$status
[1] "422"
So the problem is that errors is just a string and not a data frame?
For future reference, the http 422 can be reproduced by posting an invalid state or sha value to the commit status API:
sha<-gh::gh('/repos/r-lib/gert/commits')[[1]]$shagh::gh('/repos/r-lib/gert/statuses/{sha}', sha=sha, .method='POST', state='BLABLABLA',
context='test/test', description='This is a test')
Activity
gaborcsardi commentedon May 26, 2026
The workflow run is gone now, do you have a way to reproduce this?
jeroen commentedon Jun 22, 2026
For future reference, the http 422 can be reproduced by posting an invalid
stateorshavalue to the commit status API: