Error using API to get epics: {"code":401,"message":"Unauthorized; scope does not match"}

Hello! :smile:

I am trying the get the epics using:${ID}/rest/agile/1.0/board/${boardId}/epic

I am getting the following error:
{"code":401,"message":"Unauthorized; scope does not match"}

Reference: JIRA Agile Server 7.4.0-SNAPSHOT REST API reference

Welcome to the Atlassian developer community @CarlosAugusto,

There’s a mismatch between the URL you posted and the doc you linked. For Cloud you want:

From the correct docs, you can find:

OAuth 2.0 scopes required: