Net::HTTPClientError 422

gregory.becker (at mac)'s Avatar

gregory.becker (at mac)

10 Dec, 2007 09:13 PM

When using the post-commit hook for git, it returns me the following error :

<Net::HTTPClientError 422 readbody=true>

This is the XML content of the post :

<title>FIRSTNAME LASTNAME pushed new changes to the server</title>
  Last test for lighthouse
<changes type="yaml">---
      • M
      • app f21796bac1b49544c3058ce2c5686ac223a6099a <changed-at type="datetime">Mon, 10 Dec 2007 20:43:51 +0000</changed-at>

Do you see anything wrong with it ?

  1. 1 Posted by Rick on 11 Dec, 2007 07:22 PM

    Rick's Avatar

    Has the revision been pushed to Lighthouse already? A 422 is a validation error, which is probably just a duplicate revision string. Is there any way you can print the body of the response? If it is a validation error it should let you know what the errors were specifically.

Discussions are closed to public comments.
If you need help with Lighthouse please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac