# I cannot connect Mastodon AP

**URL:** https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803
**Category:** Bug
**Tags:** activitypub
**Created:** [March 19, 2026, 12:48pm UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803 "2026-03-19T12:48:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![roke\_julian\_lockhart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roke_julian_lockhart/32/540179_2.png) [@roke\_julian\_lockhart](https://meta.discourse.org/u/roke_julian_lockhart)
#### Post date: [March 19, 2026, 12:48pm UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/1 "2026-03-19T12:48:19Z")

</div>

When I attempt to connect to `//mastodon.social/oauth/authorize`, I observe:

> The requested scope is invalid, unknown, or malformed.

To demonstrate:

[![](https://global.discourse-cdn.com/meta/original/4X/6/1/2/6123f85e23d5af994892386bebb37863e4a1dfec.jpeg "A Screencast That Demonstrates That Discourse Meta Fails To Connect To Mastodon.Social") ](https://www.youtube.com/watch?v=kOiCQ4H63E8)

> ****
>
> > [@I cannot upload a GIF, for a non-descript error appears](https://meta.discourse.org/t/i-cannot-upload-a-gif-for-a-non-descript-error-appears/398808):
> >
> > For [meta.discourse.org/t/398803/1](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/1), I attempted to upload an image/GIF file. However, Discourse returns a non-descript error, despite the file being 15 FPS, and \< 600 KiB: "response": { "status": 422, "statusText": "", "httpVersion": "HTTP/2", "content": { "mimeType": "application/json; charset=utf-8", "size": 63, "text": "{\"errors\":[\"Sorry, but your upload failed. Please try again.\"]}" }, "redirectURL": "", "headersSize": 438, "bodySize": 501 }, My Environmen…

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [March 23, 2026, 12:51am UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/2 "2026-03-23T00:51:24Z")

</div>

FYI @pmusaraj / @angus in case you have ideas.

My guess here is … they started requiring a scope in the OAuth payload for security reasons.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [March 23, 2026, 2:15pm UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/3 "2026-03-23T14:15:47Z")

</div>

Looks like Mastodon renamed `scope` to `scopes`… not clear if this happened for a specific version, but when I rename the param in the URL I go from a broken URL (like your video) to

 ![CleanShot 2026-03-23 at 10.15.30@2x](https://global.discourse-cdn.com/meta/original/4X/2/9/b/29b052b08f3ffab539304c06fd7d84d4892dcb4d.png)

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [March 23, 2026, 3:15pm UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/5 "2026-03-23T15:15:04Z")

</div>

A potential fix in [FIX: Switch to `scopes` from `scope` for Mastodon verification by pmusaraj · Pull Request #297 · discourse/discourse-activity-pub · GitHub](https://github.com/discourse/discourse-activity-pub/pull/297), but I need to report this upstream to Mastodon… not seeing if/when the spec changed here.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [March 23, 2026, 10:14pm UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/6 "2026-03-23T22:14:26Z")

</div>

This should be fixed now here on meta.

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [March 28, 2026, 12:01pm UTC](https://meta.discourse.org/t/i-cannot-connect-mastodon-ap/398803/8 "2026-03-28T12:01:01Z")

</div>

This topic was automatically closed after 4 days. New replies are no longer allowed.
