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
I have logged an issue for this already but thought I would ask here in case someone else saw the same thing.
I am getting 401 “Bad Credentials” trying to run some api calls through github-script. This was working on Monday (Jan 9) but stopped working on Tuesday (Jan 10)
I have contacted GitHub Support and they have been able to reproduce the error. They say it is most likely due to the 3rd party action, "github-script" (6.3.3) causing this issue. https://support.github.com/ticket/enterprise/15636/1960901
Steps to reproduce
Create PAT with Admin access (r/w) to repos and org/teams
Set an Org secret using the value from my PAT
Run the workflow manually (or from a push)
Failure with 401 error
Expected to produce a list of repositories
I have pared down the workflow to isolate the issue. Attached is the workflow (list-repo-status.yml) and the debug log
list-repo-status.yml list-repo-status.debug.log.txt
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have logged an issue for this already but thought I would ask here in case someone else saw the same thing.
I am getting 401 “Bad Credentials” trying to run some api calls through github-script. This was working on Monday (Jan 9) but stopped working on Tuesday (Jan 10)
I have contacted GitHub Support and they have been able to reproduce the error. They say it is most likely due to the 3rd party action, "github-script" (6.3.3) causing this issue.
https://support.github.com/ticket/enterprise/15636/1960901
Steps to reproduce
Expected to produce a list of repositories
I have pared down the workflow to isolate the issue. Attached is the workflow (list-repo-status.yml) and the debug log
list-repo-status.yml
list-repo-status.debug.log.txt
Last successful run can be found:
https://github.com/teamkfinteg/reportscripts/actions/runs/3878744215
First failure (only difference was trying to replace trigger with cron
https://github.com/teamkfinteg/reportscripts/actions/runs/3885391826
I used Postman with the same token to test and it works as expected.
Desktop (please complete the following information):
I tried specifying v6.3.2 and the sha 0306a3c1de9987bfd34b47af6926b0e96e399e2
Both attempts failed with the same error.
Beta Was this translation helpful? Give feedback.
All reactions