Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: “Service not found: plus v1” #167

Open
AnthonyRobles opened this issue Apr 13, 2020 · 5 comments
Open

Error: “Service not found: plus v1” #167

AnthonyRobles opened this issue Apr 13, 2020 · 5 comments
Labels
bug Related to a bug or a critical problem in the code.

Comments

@AnthonyRobles
Copy link

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. :)

@GioBonvi
Copy link
Owner

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 GioBonvi added the bug Related to a bug or a critical problem in the code. label Aug 10, 2020
@annegerben
Copy link

I have this too

@sikaiser
Copy link

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.

@philliid
Copy link

philliid commented Jul 7, 2021

  • 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.

@rowanthorpe
Copy link
Collaborator

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:

...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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Related to a bug or a critical problem in the code.
Projects
None yet
Development

No branches or pull requests

6 participants