Skip to main content
June 14, 2024
Question

Got permission for Package Details API?

  • June 14, 2024
  • 1 reply
  • 0 views

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?

    1 reply

    shubhama926776
    June 14, 2024

    Check "View" permission for Service Accounts group in the application.
    Verify API key includes "deployment-management" access.

    I would recommend you can check this documentation once.
    https://docs.appian.com/suite/help/24.2/Export_Package_API.html