Got permission for Package Details API?

When I use  package details api to get package details, it response error

{
"resource": "/suite/deployment-management/v2/applications/_a-0000ea0b-d034-8000-9c03-011c48011c48_12019827/packages",
"title": "An Error Has Occurred",
"error": "APNX-1-4552-038",
"message": "Cannot access package details. Either this application does not exist or your service account does not have permission to view this application's details."
}
I created a service account, add Appian-API-Key to header.
Also add Service Accounts group to application Users Group and Administrators Group, but can't fix the issue.
How to fix the issue?

  Discussion posts and replies are publicly visible