OAuth 2.0 Error in Jira Service Management APIs - ‘Scope Does Not Match’ with Heartbeat Endpoint

Hello!
Trying to ping heartbeat endpoint with token created with scope as described in https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-heartbeats/#api-v1-teams-teamid-heartbeats-ping-post , but getting

{
    "code": 401,
    "message": "Unauthorized; scope does not match"
}

Tried token without a scope, and it worked without a problem. What can be a problem?