Multi-line geocode failed

Discussion created by theresiafreska on May 24, 2012
I followed this example for a multi-line geocode and it works fine on my computer. Yet when I tried merging the code into an existing app built with Dojo, it failed. The service called didn't return any results.

When I tried to use a single-line geocode for the same request, it returns a value.

I'm using ArcGIS for Javascript 2.8 and Dojo 1.6.0. Did I miss something?