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

Error while parsing post body #6

Open
gabrielhpugliese opened this issue Jun 18, 2014 · 2 comments
Open

Error while parsing post body #6

gabrielhpugliese opened this issue Jun 18, 2014 · 2 comments

Comments

@gabrielhpugliese
Copy link

Whenever I try to deliver a ping from github to my server, I'm seeing this error. What I'm doing wrong?

Incoming Wed Jun 18 2014 18:32:59 GMT+0000 (UTC)

Error while parsing post body

The config file is this one:

{
    "deploys": [{
        "name": "coderstv",
        "type": "github",
        "repo": "https://github.com/gabrielhpugliese/livecode",
        "basepath": "/home/meteor/coderstv",
        "command": "./dev deploy",
        "branch": "master"
    }]
}

Here the github config:

Imgur

@gabrielhpugliese
Copy link
Author

I think Github has changed the payload sent.

@kramerc
Copy link

kramerc commented Jul 2, 2014

It seems the content type needs to be set to application/x-www-form-urlencoded on the webhook. I had this same issue until I set it to that.

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

2 participants