Automattic / Automattic/jetpack

Mailchimp reported as connected after disconnecting Jetpack

Open
#18,746 0 comments 0 reactions 0 assignees View on GitHub
[Block] Mailchimp [Pri] Normal Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Connect, then disconnect Jetpack
2. Make a request to `/wp-json/wpcom/v2/mailchimp`
3. Observe that the response states Mailchimp is connected
4. Observe the `connect_url` link in the response directing to a blank page on wordpress.com

#### What I expected

Expected to see an `unavailable_site_id` error, as it is before connecting Jetpack.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue with a request to /wp-json/wpcom/v2/mailchimp after connecting and disconnecting Jetpack, then trace the endpoint's Mailchimp connection response. Done means the disconnected state returns an unavailable_site_id error and no longer provides a connect_url leading to a blank wordpress.com page.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.