Automattic / Automattic/jetpack
Instagram Business Connection Issues
- Dominant language
- PHP
- Stars
- 1.8k
- Forks
- 898
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 774
Description
### Impacted plugin
Social
### Quick summary
Users attempting to reconnect an Instagram Business account through the WordPress.com Desktop App encounter persistent errors when they've previously connected to the wrong Facebook account. The system keeps showing the previously selected (wrong) Facebook account with no way to reset this connection properly, resulting in the error "_There was a problem communicating with Instagram Business. Please try again in a moment._"

This was initially reported here (p2EDhh-2ov-p2) and seems to be related to this GH Closed case (https://github.com/Automattic/wp-calypso/issues/97151). Jetpack also tried to troubleshoot this here (p1734522184723849-slack-C02JJ910CNL).
### Steps to reproduce
1. On your WordPress.com dashboard, navigate to Tools → Marketing → Connections
2. Attempt to connect an Instagram Business account
3. Accidentally selected the wrong Facebook account during the connection process
4. Try to disconnect the account through the Connections tab
5. Attempt to reconnect with the correct Facebook/Instagram account
6. Observe that the system only offers the previously selected (wrong) Facebook account

7. If "Cancel" is selected, the error "There was a problem communicating with Instagram Business. Please try again in a moment" appears
8. Disconnecting the account through Calypso (as an admin) doesn't resolve the issue
### Site owner impact
Fewer than 20% of the total website/platform users
### Severity
Moderate
### What other impact(s) does this issue have?
No revenue impact
### If a workaround is available, please outline it here.
Users can bypass this limitation by using the **Latest Instagram Posts block** to embed individual Instagram posts directly rather than establishing a full account connection.

### Platform (Simple and/or Atomic)
Simple
Contributor guide
Research direction
Start by reproducing the flow from Tools → Marketing → Connections in the WordPress.com dashboard, including disconnecting through Calypso and reconnecting after choosing the wrong Facebook account. Review the related closed case 97151 and the referenced reports before investigating. Done means users can reset the selected Facebook account and reconnect the correct Instagram Business account without the communication error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100