Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialCody Stephenson
8,361 PointsI think the form is broken (needs updating on Treehouse's side).
I tried a bunch of troubleshooting before actually trying to submit the form manually. When I did that I get "This form isn't set up yet Do you own this website?
If so, please login and create a form. Then update your HTML or JavaScript with the new form endpoint. More information here."
Cody Stephenson
8,361 PointsWhen I run scrapy crawl horseForm
I get a massive output without any of the expected portions and I think the relevant error is
2021-06-29 15:03:59 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://treehouse-projects.github.io/horse-land/form.html> (referer: None)
2021-06-29 15:04:00 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://formspree.io/robots.txt> (referer: None)
2021-06-29 15:04:01 [scrapy.core.engine] DEBUG: Crawled (404) <POST https://formspree.io/content+scrapy@teamtreehouse.com> (referer: https://treehouse-projects.github.io/horse-land/form.html)
2021-06-29 15:04:01 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <404 https://formspree.io/content+scrapy@teamtreehouse.com>: HTTP status code is not handled or not allowed
2021-06-29 15:04:01 [scrapy.core.engine] INFO: Closing spider (finished)
but there are a few hundred lines more that I don't think are relevant. Is it expected that I would get the error when I enter information in the form manually?
Chris Freeman
Treehouse Moderator 68,441 PointsMarking as feedback.
Developers: check the set up of "https://formspree.io/content+scrapy@teamtreehouse.com" at formspree.io
2 Answers
Chris Freeman
Treehouse Moderator 68,441 PointsHey Cody Stephenson, I have to agree that the form is broken (or at least the setup is incomplete at formspree.io). Using the form on the website https://treehouse-projects.github.io/horse-land/form directly yields "This form isn't set up yet". Sad Panda
I hacked the form.html
page manually revert the change below to the form action
shown in the github history:
- <form action="https://formspree.io/ken.alger+scrapy@teamtreehouse.com" method="POST">
+ <form action="https://formspree.io/content+scrapy@teamtreehouse.com" method="POST">
When using "ken.alger" vs "content" manually as the form action, formspree.io comes back a valid response
Tagging Ken Alger, Does the form "content+scrapy@teamtreehouse.com" need to be set up?
David Sampimon
12,026 PointsBump: just leaving a comment here that I am running into the same issue in May 2022.
2022-05-06 12:49:47 [scrapy.core.engine] DEBUG: Crawled (404) <POST https://formspree.io/content+scrapy@teamtreehouse.com> (referer: https://treehouse-projects.github.io/horse-land/form.html)
2022-05-06 12:49:47 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <404 https://formspree.io/content+scrapy@teamtreehouse.com>: HTTP status code is not handled or not allowed
2022-05-06 12:49:47 [scrapy.core.engine] INFO: Closing spider (finished)
2022-05-06 12:49:47 [scrapy.statscollectors] INFO: Dumping Scrapy stats:
Chris Freeman
Treehouse Moderator 68,441 PointsIt might help escalate the issue if you send a link to this forum page to help@teamtreehouse.com
Chris Freeman
Treehouse Moderator 68,441 PointsChris Freeman
Treehouse Moderator 68,441 PointsWhere did you get stuck? I was able to use the code from the video: