# Mechanize: 404 =\> Net::HTTPNotFound

**URL:** <https://www.ruby-forum.com/t/mechanize-404-net-httpnotfound/167016>\
**Category:** Ruby\
**Created:** [May 2, 2009, 12:44am UTC](https://www.ruby-forum.com/t/mechanize-404-net-httpnotfound/167016 "2009-05-02T00:44:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![quickshotjoe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/cc9497/32.png) [@quickshotjoe](https://www.ruby-forum.com/u/quickshotjoe)\
**Post date:** [May 2, 2009, 12:44am UTC](https://www.ruby-forum.com/t/mechanize-404-net-httpnotfound/167016/1 "2009-05-02T00:44:49Z")

</div>

Hi all,  
I’m able to use this script to enter my username and password, click a  
link and get to the page i need, but when I click the checkbox that I  
need and try to submit the page, I get this message: httpNotFound.

I’ve been stewing about this for months. I’m not excited about other  
people picking through my nasty, amateurish code, but I am at wits end.

Can you help me?

here are the results i get:

> ruby troubleweather.rb  
> c:/program  
> files/ruby/lib/ruby/gems/1.8/gems/mechanize-0.9.2/lib/www/mechanize.rb:229:in  
> `get': 404 => Net::HTTPNotFound (WWW::Mechanize::ResponseCodeError) from c:/program files/ruby/lib/ruby/gems/1.8/gems/mechanize-0.9.2/lib/www/mechanize.rb:340:in`submit’  
> from troubleweather.rb:41  
> Exit code: 1

Thanks,  
Andru
