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

Issue with fill-out-form for contact pages with reCAPTCHA #143

Open
amolmohod07 opened this issue Jul 12, 2018 · 2 comments
Open

Issue with fill-out-form for contact pages with reCAPTCHA #143

amolmohod07 opened this issue Jul 12, 2018 · 2 comments

Comments

@amolmohod07
Copy link

amolmohod07 commented Jul 12, 2018

We are using Phantom DC API to create a page to contact representatives and senators. For the contact forms without CAPTCHA it works perfectly but when there is a reCAPTCHA field on the page the method fill-out-form returns a response with ERROR text as below:
{
"status": "error",
"message": "An error has occurred while filling out the remote form.",
"fill_status_id": 311,
"uid": "bfc73975361e583f89e2fc23744b8819"
}
First we are using retrieve-form-elements method with BIOID: "L000580" and posting data for the same fields which gives us above error response.

On adding same data directly from the actual contact page i.e. https://lujangrisham.house.gov/contact
then it works fine after I provide CAPTCHA details there.
According to documentation, it supposed to return a response with text CAPTCHA NEEDED and an URL for captcha image which is not happening here.

Could anyone please help with this?
response

@amolmohod07 amolmohod07 changed the title Getting error in the response while using fill-out-form method for CAPTCHA pages Issue with fill-out-form for contact pages with reCAPTCHA Jul 12, 2018
@j-ro
Copy link
Collaborator

j-ro commented Jul 12, 2018

Hi @amolmohod07 -- CAPTCHA responses are meant for image-based CAPTCHAs. RECAPTCHA is not supported, as it's a quite difference mechanism. On top of that, phantom DC and contact-congress currently don't work with the House, as the preferred method for dealing with the House is CWC.

@amolmohod07
Copy link
Author

Thanks for quick replay.

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