Skip to content
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

Failed to upload artifact 404 Not found #108

Open
mschwei opened this issue Apr 5, 2022 · 5 comments
Open

Failed to upload artifact 404 Not found #108

mschwei opened this issue Apr 5, 2022 · 5 comments

Comments

@mschwei
Copy link

mschwei commented Apr 5, 2022

I'm getting the following error using the latest version.

level=error msg="execution failed: failed to upload the files: failed to upload package.zip artifact: POST enterpriseinstance/api/v3/upload/repos/org/reponame/releases/98009/assets?name=package.zip: 404 Not Found []"

I suspect that tht issue is with discussion_category_name, similar/or related to #89 due to a change at he GH API. #89 also has a linked PR of a merge that seems to address that.

Could you please check and povide a new version?

@mschwei
Copy link
Author

mschwei commented Apr 5, 2022

Related to this, I have a GH Enterprise where discussions do not see to be enabled. So maybe there is no default value for the cateogory name and would need to specified now?

@donny-dont
Copy link
Contributor

@mschwei can you try again with the latest version of the plugin?

@codyrancher
Copy link

@donny-dont I'm not sure if this is related or not but I'm also getting a 404 even though the resource clearly exists. Let me know if I should open a separate issue.

Found release 68896408 for tag plugin-aa-a

time="2022-06-07T23:58:25Z" level=error msg="execution failed: failed to create the release: failed to create or edit a release: failed to update release: PATCH https://api.github.com/repos/rancher/opni-ui/releases/68896408: 404 Not Found []"

And I do believe I have the latest with this as the step in my drone config:

name: plugin-upload-zip
    image: plugins/github-release
    pull: always

@donny-dont
Copy link
Contributor

@codyrancher are you using GitHub or GitHub Enterprise?

@codyrancher
Copy link

Honestly I'm not sure how to verify. I believe we're using GitHub Enterprise Cloud.

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

No branches or pull requests

3 participants