Git Product home page Git Product logo

Comments (1)

tarsius avatar tarsius commented on July 17, 2024

the response received was 400 Bad Request and that github did not return JSON.

When that happens then Github returned a html document, which always (regardless of what actually happened) contains the same error message. I don't remember what it was, but I think it is something to the effect of "something went wrong on the server and we will fix it".

I have seen such errors a few times during development and in some of these cases it was because the request itself was invalid, i.e. because some change that I made to ghub was broken and not because something went wrong on the server. At other times however the request was perfectly valid so something must indeed have gone wrong on the server. However because the error message sometimes is correct and sometimes is wrong, it is of no use, which is why ghub simply returns the error you mentioned.

That of course makes it rather difficult to figure out what actually happened when someone opens an issue such as this one...

Because things sometimes do go wrong on Github's side and because many other users have successfully created a token, I am going to assume that Github was having difficulties when you made the request and that it would succeed if you tried again now. So I am closing this, but if it still doesn't work, then please ask me to reopen this. In that case you will have to provide a lot more information though, because otherwise all we know is that something went wrong and apparently its not Github's fault.

from ghub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.