ppy / osu-web

the browser-facing portion of osu!
https://osu.ppy.sh
GNU Affero General Public License v3.0
981 stars 384 forks source link

Error while accessing v2 API endpoints: "A required scope is missing" #8601

Closed CIRCULARKA closed 2 years ago

CIRCULARKA commented 2 years ago

Can't send the message to myself using https://osu.ppy.sh/api/v2/chat/new endpoint

tybug commented 2 years ago

Why are you sending the scope parameter in the body of the /chat/new request? You have to first authenticate with the api as described in the docs, and that's where you specify the chat.write scope.

CIRCULARKA commented 2 years ago

Why are you sending the scope parameter in the body of the /chat/new request? You have to first authenticate with the api as described in the docs, and that's where you specify the chat.write scope.

Thanks. Idk, missed that part somehow