deny_everything
deny_everything

Reputation: 21

Unreachable Service - appsactivity

I have started receiving the message "Unreachable Service - appsactivity" today while executing my google apps script webapp. Anyone knows if there is an outage going on?

Upvotes: 0

Views: 2345

Answers (6)

Rob
Rob

Reputation: 575

Update: May 2nd 2021:

After a lot of trial and error the solution above to disable the v8 runtime is partially correct and does function -- as long as you don't try to use any other scripts with the V8 runtime as a library.

The complete solution -- You can update individual scripts to V8 but if you have any libraries attached to the script that are not also upgraded to V8 then the script will throw the 'unable to locate appsactivity v1' error.

Updating all of the scripts that are used as libraries to V8 as well was the key to fixing this issue for my scripts.

Frustrating that Google is pushing the upgrade to v8 (disabling debugger, etc...) without first fixing this issue since this is going to really throw some folks (like myself for quite some time) for a loop.

Upvotes: 0

Amit Singh
Amit Singh

Reputation: 188

So I was also facing the same issue. The issue tracker suggests that it is because of depreciation of Drive V1 Api although when I checked my drive API version it was already the latest one so I tried the following which worked.

Click on View>>show Manifest File to see a JSON file that contains scopes.

and remove Apps Activity scope (I have tested my app in dev mode all things are working I will go through the necessity of this scope later). it should look like this

{
      "userSymbol": "AppsActivity",
      "serviceId": "appsactivity",
      "version": "v1"
    },

I hope this helps you please comment back your response.

Thank You.

Upvotes: 1

The solution it's Disable Runtime V8.

Open the script in the Apps Script editor. Select Run > Disable new Apps Script runtime powered by V8

Thats all

Im fixed my issue

Upvotes: 0

TheMaster
TheMaster

Reputation: 50472

Unreachable Service - appsactivity

The previous answer is correct but the issue mentioned is now closed as a duplicate of

Consider adding a star (on top left) to this issue instead. In addition, a related error:

Service not found: appsactivity v1

is also reported as duplicate of the above issue.


Possible solution(s):

  • Star the issue to pressure Google into fixing it and wait.

  • #30 - Remove appsactivity service from manifest file: appsscript.json

  • #33 - Disable V8 runtime

  • #43 - Disable, save and re enable Resources > Advanced Google services > Drive and Drive activity api

  • #49 - Enable the Apps activity api "for the project" you're having issue with.

  • #53 - Delete current project and create, use a new script

Upvotes: 3

Aerials
Aerials

Reputation: 4419

This issue seems to be related to the deprecation of Drive Activity API v1. Google recommends migrating to v2 (See here).

You may need to clear caches, and perhaps even reactivate the advanced service.

Upvotes: 1

Terry Stone
Terry Stone

Reputation: 11

https://issuetracker.google.com/issues/169595450

Reported and assigned to someone at Google. Seems like an outage/unintended change.

Upvotes: 1

Related Questions