Skip to content

Jetpack Cloud: cannot fetch plugins on a site where the JSON API module is disabled #90218

Open

Description

Quick summary

When fetching plugins for a site where the JSON API module is disabled, one only receives an error.

Steps to reproduce

  1. Start with a site that's connected to WordPress.com.
  2. Go to Jetpack > Settings > Modules in wp-admin, and disable the JSON API module.
  3. Go to https://cloud.jetpack.com/plugins/manage/yoursite.com

What you expected to happen

I expected to see a list of the different plugins installed on the site.

What actually happened

Instead I only get a "No plugins found." error. When looking at the API requests on that page, I see that the rest/v1.1/sites/site_id/plugins request returns a 403: "API calls to this blog have been disabled."

The request should always be available in Calypso.

One can see the expected result when running the same request in https://developer.wordpress.com/docs/api/console/

It returns the plugins installed on the site.

Impact

Some (< 50%)

Available workarounds?

No and the platform is unusable

Platform (Simple and/or Atomic)

Atomic, Self-hosted

Logs or notes

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

Type

No type

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions