close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Not a valid Google API error....

Thread began 8/31/2012 7:13 am by mjc309098 | Last modified 8/31/2012 2:04 pm by mjc309098 | 1584 views | 6 replies |

mjc309098

Not a valid Google API error....

I used this product on a site and I followed the link it gives to obtain an API for Google maps. Well Google changed the way you do API's since this plug-in was written. SO I turned on the v2 for Google maps, and created a key, I put the key into the site and it was working for 24 hrs. NOW Google stopped letting the site use it because it says it's not a valid key.

What is wrong here????

this is my API key script.. can anyone please help me..

<script type="text/javascript">
_cf_loadingtexthtml="<div align='center'><img src='bk_es_button_rt.gif'/></div>";
_cf_contextpath="";
_cf_ajaxscriptsrc="/CFIDE/ajax";
_cf_jsonprefix='//';
_cf_clientid='309225768811.apps.googleusercontent.com';
</script>
<script type="text/javascript">
/*wagmp*/
<cfinclude template="google_javascript/wagmp_map_1.cfm">
</script>
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=AIzaSyAUDgQxhGOnPXqMNKsV0TiJBNKzb_6N7Uk">/*wagmp*/</script>
Sign in to reply to this post

Jason ByrnesWebAssist

the key is actually now optional for google.

try changing:
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=AIzaSyAUDgQxhGOnPXqMNKsV0TiJBNKzb_6N7Uk">/*wagmp*/</script>


to:
<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2">/*wagmp*/</script>

Sign in to reply to this post

mjc309098

that didn't work, I get this message now:

This web site needs a different Google Maps API key. A new key can be generated at introduction.html#Obtaining_Key.

and that sends me back to where I am now.... frustrated.

Sign in to reply to this post

Jason ByrnesWebAssist

please send a link to your site so i can investigate

Sign in to reply to this post

mjc309098

direct.cfm

Thank you for your help. I really appreciate it.

Sign in to reply to this post

Jason ByrnesWebAssist

sorry, instead of removing the key variable altogether, leave it blank:

<script type="text/javascript" src="http://maps.google.com/maps?file=api&v=2&key=">/*wagmp*/</script>

Sign in to reply to this post

mjc309098

THANK YOU! That fixed it!

BUT it isn't showing directions now.. try it out

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...