Error parsing captcha challenge value

377 views
Skip to first unread message

johnny

unread,
Mar 24, 2010, 2:16:50 PM3/24/10
to reCAPTCHA
false
'Input error: challenge: Error parsing captcha challenge value\n'

No matter what I send in the challenge field, right now the return is
this.

Please help

http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeHCcK_1hesIeTNRhfpgxq1Y&challenge=hello&remote-ip=209.48.230.66&response=hello

reCAPTCHA Support

unread,
Mar 24, 2010, 2:26:59 PM3/24/10
to reca...@googlegroups.com
This is correct. "hello" is an invalid challenge value.


--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To post to this group, send email to reca...@googlegroups.com.
To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.




--
reCAPTCHA: stop spam, read books
http://recaptcha.net

johnny

unread,
Mar 24, 2010, 2:33:44 PM3/24/10
to reCAPTCHA
OK it's stranger than I thought.

If I correctly post the information in a browser now. With an
encrypted challenge, it returns correctly.

http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeHCcK_1hesIeTNRhfpgxq1Y&response=in
namibian&challenge=02ElSBdwKnUOi5dOjKR3tx6gXGe9ZlkS3HqS3k5vBxiFsFGn24XFZJp9cfRrIFSZN89rGCQxgJZEerwX-
n67KZYno0vfpYtbJM2SjLn5-eg3rE-
B_AbYFr19FpCOoBWJTE7v5hI7nYpHMh2rcbXrAljQ4HM_5Q3qaFFs3vR7B2LWDKckgxgXxO7DfVpplUxAp3ObMjDoTXJMh5o_7W6XNn6_ZB-
iMZMl8M71CqtWkYZnPSPedcOnpEV9EGdqUTjzWxwElScymBz70rlexFASeT48q80F8B&remoteip=127.0.0.1

However, my system is getting an 400 error bad request.

On Mar 24, 2:26 pm, reCAPTCHA Support <supp...@recaptcha.net> wrote:
> This is correct. "hello" is an invalid challenge value.
>
>
>
> On Wed, Mar 24, 2010 at 2:16 PM, johnny <staplez1...@gmail.com> wrote:
> > false
> > 'Input error: challenge: Error parsing captcha challenge value\n'
>
> > No matter what I send in the challenge field, right now the return is
> > this.
>
> > Please help
>

> >http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH...


>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "reCAPTCHA" group.
> > To post to this group, send email to reca...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > recaptcha+...@googlegroups.com<recaptcha%2Bunsu...@googlegroups.com>

reCAPTCHA Support

unread,
Mar 24, 2010, 2:35:58 PM3/24/10
to reca...@googlegroups.com
Hi,

Can you please give us the full HTTP request & response that causes the error?

-b

To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.

johnny

unread,
Mar 24, 2010, 2:40:55 PM3/24/10
to reCAPTCHA
the system says I send:

http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeHCcK_1hesIeTNRhfpgxq1Y&response=in%20namibian&challenge=02ElSBdwKnUOi5dOjKR3tx6gXGe9ZlkS3HqS3k5vBxiFsFGn24XFZJp9cfRrIFSZN89rGCQxgJZEerwX-n67KZYno0vfpYtbJM2SjLn5-eg3rE-B_AbYFr19FpCOoBWJTE7v5hI7nYpHMh2rcbXrAljQ4HM_5Q3qaFFs3vR7B2LWDKckgxgXxO7DfVpplUxAp3ObMjDoTXJMh5o_7W6XNn6_ZB-iMZMl8M71CqtWkYZnPSPedcOnpEV9EGdqUTjzWxwElScymBz70rlexFASeT48q80F8B&remoteip=127.0.0.1

and I'm getting back
<response xmlns="xdmp:http">
<code>400</code>
<message>Bad Request</message>
<headers>
<content-type>text/html; charset=UTF-

<content-length>1350</content-length>

<date>Wed, 24 Mar 2010 18:18:14 GMT</

<server>GFE/2.0</server>
<x-xss-protection>0</x-xss-protection

</headers>
</response>


On Mar 24, 2:35 pm, reCAPTCHA Support <supp...@recaptcha.net> wrote:
> Hi,
>
> Can you please give us the full HTTP request & response that causes the
> error?
>
> -b
>
>
>
> On Wed, Mar 24, 2010 at 2:33 PM, johnny <staplez1...@gmail.com> wrote:
> > OK it's stranger than I thought.
>
> > If I correctly post the information in a browser now.  With an
> > encrypted challenge, it returns correctly.
>

> >http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH...
>
> > namibian&challenge=02ElSBdwKnUOi5dOjKR3tx6gXGe9ZlkS3HqS3k5vBxiFsFGn24XFZJp9cfRrIFSZN89rGCQxgJZEerwX-
> > n67KZYno0vfpYtbJM2SjLn5-eg3rE-<http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH...>


>
> > B_AbYFr19FpCOoBWJTE7v5hI7nYpHMh2rcbXrAljQ4HM_5Q3qaFFs3vR7B2LWDKckgxgXxO7DfVpplUxAp3ObMjDoTXJMh5o_7W6XNn6_ZB-
>
> > iMZMl8M71CqtWkYZnPSPedcOnpEV9EGdqUTjzWxwElScymBz70rlexFASeT48q80F8B&remoteip=127.0.0.1
>
> > However, my system is getting an 400 error bad request.
>
> > On Mar 24, 2:26 pm, reCAPTCHA Support <supp...@recaptcha.net> wrote:
> > > This is correct. "hello" is an invalid challenge value.
>
> > > On Wed, Mar 24, 2010 at 2:16 PM, johnny <staplez1...@gmail.com> wrote:
> > > > false
> > > > 'Input error: challenge: Error parsing captcha challenge value\n'
>
> > > > No matter what I send in the challenge field, right now the return is
> > > > this.
>
> > > > Please help
>
> > > >http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH.
> > ..
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "reCAPTCHA" group.
> > > > To post to this group, send email to reca...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > recaptcha+...@googlegroups.com<recaptcha%2Bunsu...@googlegroups.com>

> > <recaptcha%2Bunsu...@googlegroups.com<recaptcha%252Buns...@googlegroups.com>

reCAPTCHA Support

unread,
Mar 24, 2010, 2:44:43 PM3/24/10
to reca...@googlegroups.com
Hi,

We need to see the full request and response, including all headers.

- Ben

To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/recaptcha?hl=en.

johnny

unread,
Mar 24, 2010, 2:44:48 PM3/24/10
to reCAPTCHA
the system says I send:

http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeHCcK_1hesIeTNRhfpgxq1Y&response=in%20namibian&challenge=02ElSBdwKnUOi5dOjKR3tx6gXGe9ZlkS3HqS3k5vBxiFsFGn24XFZJp9cfRrIFSZN89rGCQxgJZEerwX-n67KZYno0vfpYtbJM2SjLn5-eg3rE-B_AbYFr19FpCOoBWJTE7v5hI7nYpHMh2rcbXrAljQ4HM_5Q3qaFFs3vR7B2LWDKckgxgXxO7DfVpplUxAp3ObMjDoTXJMh5o_7W6XNn6_ZB-iMZMl8M71CqtWkYZnPSPedcOnpEV9EGdqUTjzWxwElScymBz70rlexFASeT48q80F8B&remoteip=127.0.0.1

and I'm getting back
<response xmlns="xdmp:http">
<code>400</code>
<message>Bad Request</message>
<headers>
<content-type>text/html; charset=UTF-

<content-length>1350</content-length>

<date>Wed, 24 Mar 2010 18:18:14 GMT</

<server>GFE/2.0</server>
<x-xss-protection>0</x-xss-protection

</headers>
</response>


On Mar 24, 2:35 pm, reCAPTCHA Support <supp...@recaptcha.net> wrote:
> Hi,
>
> Can you please give us the full HTTP request & response that causes the
> error?
>
> -b
>
>
>
> On Wed, Mar 24, 2010 at 2:33 PM, johnny <staplez1...@gmail.com> wrote:
> > OK it's stranger than I thought.
>
> > If I correctly post the information in a browser now.  With an
> > encrypted challenge, it returns correctly.
>

> >http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH...
>
> > namibian&challenge=02ElSBdwKnUOi5dOjKR3tx6gXGe9ZlkS3HqS3k5vBxiFsFGn24XFZJp9cfRrIFSZN89rGCQxgJZEerwX-
> > n67KZYno0vfpYtbJM2SjLn5-eg3rE-<http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH...>
>

> > B_AbYFr19FpCOoBWJTE7v5hI7nYpHMh2rcbXrAljQ4HM_5Q3qaFFs3vR7B2LWDKckgxgXxO7DfVpplUxAp3ObMjDoTXJMh5o_7W6XNn6_ZB-
>
> > iMZMl8M71CqtWkYZnPSPedcOnpEV9EGdqUTjzWxwElScymBz70rlexFASeT48q80F8B&remoteip=127.0.0.1
>
> > However, my system is getting an 400 error bad request.
>
> > On Mar 24, 2:26 pm, reCAPTCHA Support <supp...@recaptcha.net> wrote:
> > > This is correct. "hello" is an invalid challenge value.
>
> > > On Wed, Mar 24, 2010 at 2:16 PM, johnny <staplez1...@gmail.com> wrote:
> > > > false
> > > > 'Input error: challenge: Error parsing captcha challenge value\n'
>
> > > > No matter what I send in the challenge field, right now the return is
> > > > this.
>
> > > > Please help
>
> > > >http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH.
> > ..
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "reCAPTCHA" group.
> > > > To post to this group, send email to reca...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > recaptcha+...@googlegroups.com<recaptcha%2Bunsu...@googlegroups.com>

> > <recaptcha%2Bunsu...@googlegroups.com<recaptcha%252Buns...@googlegroups.com>

James Watkins

unread,
May 17, 2010, 8:33:15 PM5/17/10
to reCAPTCHA
I too have had this problem. It was very hard to troubleshoot because
the error code was different from the others and didn't seem to be
documented.

You have to physically post the captcha in order for it to work. You
can't just manipulate the request directly and test it. This is the
mistake that I made. By physically posting the captcha, the challenge
gets encrypted before sending (via javascript).

Anyone trying to test validation manually, like me, will end up
scratching their head when the captcha fails silently. I urge
reCaptcha to add a special error code for this and document it on the
site. Thank you.

On Mar 24, 2:16 pm, johnny <staplez1...@gmail.com> wrote:
> false
> 'Input error: challenge: Error parsing captcha challenge value\n'
>
> No matter what I send in the challenge field, right now the return is
> this.
>
> Please help
>
> http://api-verify.recaptcha.net/verify?privatekey=6LcyiAoAAAAAAGcNNeH...

--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To post to this group, send email to reca...@googlegroups.com.
To unsubscribe from this group, send email to recaptcha+...@googlegroups.com.

reCAPTCHA Support

unread,
May 18, 2010, 10:02:58 AM5/18/10
to reca...@googlegroups.com
It's correct that you cannot use the GET method to talk to the verification servers -- you must POST.  We'll try to document this better in the future, and return a more informative error message if possible.

Best,
The reCAPTCHA team
--
reCAPTCHA: stop spam, read books
http://recaptcha.net
Reply all
Reply to author
Forward
0 new messages