GoogleContactsEventsNotifier icon indicating copy to clipboard operation
GoogleContactsEventsNotifier copied to clipboard

Error: “Service not found: plus v1”

Open AnthonyRobles opened this issue 4 years ago • 5 comments

Steps to reproduce

  1. Upgrade to version 5.0.2;
  2. Follow the normal upgrade process;
  3. Click on Run > notifStart;

Expected behavior

The script should start correctly

Current behavior

I'm receiving an error “Service not found: plus v1”

Context

  • Version of the script: 5.0.2
  • I used old versions, so Google Plus was active in the past (however it's now deprecated)

Possible solution

  • Modifying the manifest file (View > Show manifest file) in order to display appsscript.json
  • Remove the lines below: { "userSymbol": "Plus", "serviceId": "plus", "version": "v1" } This seemingly works for me, I can now launch the script without error. I'll wait for my next notification to show up in my inbox to make sure it is actually working.
  • Similar case (for another script) here
  • I also went into the Google Cloud Platform, and disabled the Google Plus API from the project (it was still there and enabled), although I'm not sure whether this is necessary to resolve the issue.
  • I'm not sure whether this is happening to everyone, I'm assuming only to those who used old versions of the GoogleContactsEventsNotifier from the past.

Thank you @GioBonvi for this neat little script, which is compensating for a lack of birthday notifications in Google Calendar. :)

AnthonyRobles avatar Apr 13 '20 14:04 AnthonyRobles

Thank you for bringing this up: I'll leave it open in case it happens to anyone else, since it never happened to me personally durign any test.

GioBonvi avatar Aug 10 '20 16:08 GioBonvi

I have this too

annegerben avatar Dec 16 '20 15:12 annegerben

I also went into the Google Cloud Platform, and disabled the Google Plus API from the project (it was still there and enabled), although I'm not sure whether this is necessary to resolve the issue.

This solved it for me, it was the only thing I did.

sikaiser avatar Mar 19 '21 10:03 sikaiser

  • Modifying the manifest file (View > Show manifest file) in order to display appsscript.json
  • Remove the lines below: { "userSymbol": "Plus", "serviceId": "plus", "version": "v1" }

Same issue. The above fixed it.

philliid avatar Jul 07 '21 09:07 philliid

So it seems that:

  • the fix for this is to use the latest source once all Plus code/config is removed

...and a workaround for people who can't/don't-want-to update their version yet is to:

  • remove the "userSymbol" line from the manifest as described by @AnthonyRobles & verified by @philliid

...and that in both cases it is necessary to:

  • ensure the Google Plus API is disabled in project-settings - as described by @AnthonyRobles & verified by @sikaiser.

Have I parsed that correctly? If so, perhaps the project has reached the point where it needs an FAQ (or at least a "gotchas") page in the docs/ dir, or it could start as a list at the end of the install-and-setup page. I guess documenting the above (if correct) would be enough to "resolve" this issue?

rowanthorpe avatar Aug 31 '21 07:08 rowanthorpe