Google Cloud Platform Tutorial - callback is not a function?

I am trying to work through rickkas7’s great Google Cloud Platform tutorial, to make sure it works a year after not having touched it. I’ve deployed the first cloud function example (in the 6-functions folder), but when I publish my particle event, get an error in the function log:

Error: function execution failed. Details:
callback is not a function

Any ideas? It worked last year …

I love problem solving in the AM … in Node6 cloud functions took a callback function - not, according to Google’s Cloud Function tutorial, in Node8.

Hi @mprogers rogers - did this solve the issue for you? I just want to be sure! :slight_smile:

Yes, thanks – Google’s API had changed, and it was just a matter of adding a context parameter.

1 Like