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

Invalid scope: user_profile in Instagram blocks due to deprecation of Instagram Basic Display API #97151

Closed
arunsathiya opened this issue Dec 6, 2024 · 27 comments
Assignees
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Misc Blocks One-off blocks added to the WPCOM editor from more obscure sources. [Interaction #] > 20 (Automated) interaction count label for better visibility. Please don't add these manualliy. [Platform] Atomic [Platform] Simple [Pri] BLOCKER Requires immediate attention. [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Escalated to Product Ambassadors Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended

Comments

@arunsathiya
Copy link
Contributor

arunsathiya commented Dec 6, 2024

Quick summary

We have users reporting an error when connecting to Instagram via Instagram latest posts block or Tools > Marketing > Connections. The error message is: "Invalid Request: Request parameters are invalid: Invalid scope: user_profile".

Steps to reproduce

  • Connect an Instagram account at Tools > Marketing > Connections
  • Or try setting up the Latest Instagram posts block on any part of the site: page, post or widget

What you expected to happen

Able to set up Instagram connection without an error.

What actually happened

An error appears with the message Invalid Request: Request parameters are invalid: Invalid scope: user_profile.

Impact

All

Available workarounds?

No and the platform is unusable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

Seems to be due to deprecation of Instagram Basic Display API: https://developers.facebook.com/docs/instagram-platform

Image

cc @pablinos

@arunsathiya arunsathiya added [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Misc Blocks One-off blocks added to the WPCOM editor from more obscure sources. [Product] WordPress.com All features accessible on and related to WordPress.com. [Type] Bug When a feature is broken and / or not performing as intended Needs triage Ticket needs to be triaged labels Dec 6, 2024
@arunsathiya
Copy link
Contributor Author

arunsathiya commented Dec 6, 2024

9137482-zen
9132451-zen
9135055-zen
9134764-zen

Copy link

github-actions bot commented Dec 6, 2024

Support References

This comment is automatically generated. Please do not edit it.

  • 9137482-zen
  • 9132451-zen
  • 9135055-zen
  • 9134764-zen
  • 9137136-zen
  • 9132352-zen
  • 9134399-zen
  • 9133714-zen
  • 9135313-zen
  • 9135845-zen
  • 9136681-zen
  • 9136229-zen
  • 9136603-zen
  • 9135888-zen
  • 9134242-zen
  • 9133548-zen
  • 9140082-zen
  • 9140160-zen
  • 9140768-zen
  • 9141912-zen
  • 9142721-zen
  • 9147405-zen
  • 9148455-zen
  • 9148481-zen
  • 9150745-zen
  • 9152145-zen
  • 9151483-zen
  • 9152578-zen
  • 9155278-zen
  • 9158959-zen
  • 9161151-zen
  • 9161762-zen
  • 9160469-zen

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Dec 6, 2024
@happychait
Copy link

happychait commented Dec 6, 2024

9137136-zen

@arunsathiya
Copy link
Contributor Author

9132352-zen
9134399-zen
9133714-zen
9135313-zen
9135845-zen
9136681-zen
9136229-zen
9136603-zen
9135888-zen
9134242-zen
9133548-zen

@github-actions github-actions bot added the [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. label Dec 6, 2024
@pablinos pablinos self-assigned this Dec 6, 2024
@daria2303
Copy link

9140082-zd-a8c

@dragstor
Copy link
Member

dragstor commented Dec 6, 2024

9140160-zen

@susanjanec
Copy link

9132352-zen

@jorpdesigns
Copy link

9140768-zen

@jorpdesigns
Copy link

9141912-zen

@chad1008
Copy link
Contributor

chad1008 commented Dec 6, 2024

9142721-zen

@github-actions github-actions bot added [Interaction #] > 20 (Automated) interaction count label for better visibility. Please don't add these manualliy. and removed [Interaction #] > 10 (Automated) interaction count label for better visibility. Please don't add these manualliy. labels Dec 6, 2024
@Robertght Robertght added Triaged To be used when issues have been triaged. and removed Needs triage Ticket needs to be triaged labels Dec 6, 2024
@Robertght Robertght moved this from Needs Triage to In Progress in Automattic Prioritization: The One Board ™ Dec 6, 2024
@matticbot matticbot moved this from In Progress to Triaged in Automattic Prioritization: The One Board ™ Dec 6, 2024
@Robertght
Copy link

Marking this as "In progress" as it's actively being worked on. I pinged here

@hacchism
Copy link

hacchism commented Dec 7, 2024

Another report: 9147405-zen

@mdtanjid0
Copy link

Another report here: 9148455-zen.

@donalirl
Copy link

donalirl commented Dec 8, 2024

9148481-zen

@mdtanjid0
Copy link

mdtanjid0 commented Dec 8, 2024

  • 9133548-zen (needs to be followed up).

@pablinos
Copy link
Contributor

pablinos commented Dec 8, 2024

By way of an update, I have a patch D168000-code which swaps over to using the new Instagram API, for test users. That can be reviewed first thing tomorrow, and then I can submit to Facebook's app review. How long that takes is anyone's guess, but it's been a few hours before. I'll also email a previous contact we had there, in case they help with expediting it.

Once we're approved, we can swap to the new API for all users and then everyone will need to reconnect. They'll only be able to do that if they are using Instagram Creator/Business accounts.

@jordesign
Copy link
Contributor

Another report in 9150745-zd-a8c

user would like to be notified when resolved.

@filipanoscampos
Copy link

filipanoscampos commented Dec 9, 2024

Another report here: 9152145-zd-a8c
User asked to be updated once this is fixed.

@filipanoscampos
Copy link

Another one 9151483-zd-a8c

@pauljacobson
Copy link

I'm unsure whether this is related but I have a user who has tried to connect their site to a Business Instagram profile, seemingly for the first time, and they encountered this error:

There was a problem exchanging an Instagram access token for a long lived one

9152578-zen

@mdtanjid0
Copy link

  • Another one 9155278-zen ( needs to be followed up).

@khristiansnyder
Copy link

9158959-zen

@arunsathiya
Copy link
Contributor Author

9161151-zen

@devNigel
Copy link

9161762-zd-a8c

User wants to be notified by email when the issue is resolved.

@lailagmelo
Copy link

9160469-zen

@pablinos
Copy link
Contributor

The fix is live now, so it should be possible for customers to start reconnecting to Instagram

@arunsathiya
Copy link
Contributor Author

I informed all customers from this list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". [Feature Group] Editor Experience Features related to Gutenberg integration on WordPress.com. [Feature] Misc Blocks One-off blocks added to the WPCOM editor from more obscure sources. [Interaction #] > 20 (Automated) interaction count label for better visibility. Please don't add these manualliy. [Platform] Atomic [Platform] Simple [Pri] BLOCKER Requires immediate attention. [Product] WordPress.com All features accessible on and related to WordPress.com. [Status] Escalated to Product Ambassadors Triaged To be used when issues have been triaged. [Type] Bug When a feature is broken and / or not performing as intended
Development

No branches or pull requests