Thanks a lot Andrew! worked brilliantly

Jason

On Jan 8, 11:10 am, Andrew Leach <[email protected]>
wrote:
> On Jan 8, 10:48 am, data department <[email protected]>
> wrote:
>
>
>
> > I keep getting the error ' thewebsiteneedsadifferentAPIKey'. I
> > generated akeykeyand all the code seems to check out. It works fine
> > locally.
>
> It works locally because thekeyisn't checked locally.
>
> You have spaces in the url of theAPIscript. This means that you
> aren't sending a "key" parameter: you're sending a "%20key" parameter.
> And your "sensor" parameter doesn't have an &amp; before it, which
> means that you have appended "%20sensor=false" to the end of yourkey,
> which will render it invalid.
>
> So: no spaces, and each parameter except the one immediately after 
> ?needs&amp; immediately before it to separate it from the previous
> one.
>
> Andrew
-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.


Reply via email to