I'm receiving a OpenURI::HTTPError: 400 BAD REQUEST error while trying to run the rake scraper:scrape_neighborhoods command in the terminal. I ran it with --trace and it tells me that there's an issue on the 95 line saying 'block (2 levels) in <top (required)>'
And on line 95, i have result = JSON.parse(open(uri).read) - not sure why i'm receiving an error. Any ideas?
Posted almost 5 years ago by