Google Embed API Demo is not a function error

I’m following the tutorial here:

I’m sure I’ve added the Client Id and Javascript Origin correctly.

But the chart doesn’t appear and I get this error:

Uncaught TypeError: is not a function

It seems to appear every time I run the execute() function

Anyone else run into this problem?


After much tossing and turning, I finally got the answer, all I had to do was add


to the application.html.erb file


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: