-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The requested URL returned error: 404 #62
Comments
The only thing that comes to mind is the private key you are connecting with does not have access to that repository or that the workflow path is incorrect. "workflows/test3.yml/dispatches" doesn't seem like a proper path. |
I was running into this error myself despite using the same setup in other repositories fine - turns out that it's expecting that a workflow exists before the API calls will start working. I manually triggered a workflow run, and then this action started working |
@IvanKravchenko773 Did you find a solution? I am facing the same exact error too :( |
@AshwinNmbr no, but I think it just cant work if yml file is not in main branch. |
I managed to fix it by giving PAT in the args |
Hi everyone, I'm having the exact same problem: I'm trying to execute a workflow in an organization repo (where I'm the owner) but I cannot make it work. I'm specifying both the token and the workflow file name (and also owner and repository path like organization_name/repo_name). |
In my case I had a repo with master branch and the other with main branch, so I had to specify "ref" in order to make it work |
does anyone know which specific permissions are needed by the PAT? Is it possible to grant these permissions to the OOTB GITHUB_TOKEN? |
I had the same problem, api failed 404 |
Had the same issue was forgot to add the user to the repo |
For people who are as dumb as I - if you're doing this in a repo you've created in an organisation, the owner is the organisation, not yourself 💀 |
I encountered this error today and after a few hours of scratching my head I realised I was setting an environment variable named Not that this is a bug, but using such general environment variable names with parameter expansion in public facing scripts is bound to lead to mishaps like this. |
Did you find an answer to either (or both!) of these questions? The README is light (read: absent) of any details about the scopes needed on the PAT. |
I'm looking into the fine-grained permissions for this action.. The APIs that I see used with the
In summary it looks like "Actions: Read and write" should be sufficient. I'll be validating this. As far as the OOTB GITHUB_TOKEN, I understand that it is not possible to use because anything done using the Github Actions GITHUB_TOKEN is blocked from triggering further Github Actions. |
Any relationship to #96 here? |
Hi, I tying to trigger workflow but not in the main branch and it wont work. I used Argument (ref:) with name of branch but always get 404 error. Am I doing something wrong?
![image](https://user-images.githubusercontent.com/89259684/192970289-a699f766-e03d-4a55-9605-9241d03a8864.png)
The text was updated successfully, but these errors were encountered: