-
Notifications
You must be signed in to change notification settings - Fork 9
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
error while uploading #14
Comments
Try to capture the actual response code from github. It's not returning a 2xx response, it would be much useful to know what the code actually is. |
any idea how to find out :-) i am not familiar with ruby. |
Just before this line:
add:
|
this is the output Net::HTTPNotFound 404 Not Found readbody=true |
What is the output from this command?
|
I just pushed a change (f8cf726), does it work now? |
sorry. still the same problem :-( |
Did you supply a valid token to the script? (see the readme) |
sure. i tried also manually within the script. the token is available. |
More debugging. In the
|
you mean puts request.inspect ... right? this ist the output: URI::HTTPS:0x8fa8c34 URL:https://api.github.com/repos/DonDavici/DreamPlex/downloads> |
Yes. Add also this:
|
URI::HTTPS:0x8a17f54 URL:https://api.github.com/repos/DonDavici/DreamPlex/downloads> |
If using OAuth, you'll need a token with 'public_repo' scope for a user with push access to the repo in order to create a download via the API. |
thank you very much. that solved the problem for me. :-) |
I've added a note to the readme which scopes the OAuth token must include. |
Hi
i was searching for a long time for script as yours. Thank you very much for your efforts on this.
unfortnuately it does not work for me.
i get always the following error:
{"message":"Not Found"}GitHub doesn't want us to upload the file.
message not found comes from "print res.body one line before the error message itself in your script.
any ideas on this?
thx in advance
The text was updated successfully, but these errors were encountered: