Unable to get KPI via API

Hello together,
I am trying to get the kpi information from Test Manager dashboard via API.
Unfortnately I get a http 403 error despite checking all the scopes.
Is there a way to enable this scope?


I am unable to find the KPIs.Read Permission in Automation Cloud.

Thanks in advance!

Kind regards
Sebastian

Hi @sebastian-marcin.lewko,

If you are receiving a HTTP 403 error while trying to access Test Manager dashboard via API, it may indicate that the access token being used is missing the required scopes.

Thank you for the fast reply!
The scopes I am giving it are:
TM.Administration TM.Administration.Read TM.Administration.Write TM.Attachments TM.Attachments.Read TM.Attachments.Write TM.CustomFieldDefinitions TM.CustomFieldDefinitions.Read TM.CustomFieldDefinitions.Write TM.CustomFieldValues TM.CustomFieldValues.Read TM.CustomFieldValues.Write TM.Defects TM.Defects.Read TM.Defects.Write TM.Maintenance TM.Maintenance.Read TM.Maintenance.Write TM.ObjectLabels TM.ObjectLabels.Read TM.ObjectLabels.Write TM.Projects TM.Projects.Read TM.Projects.Write TM.Requirements TM.Requirements.Read TM.Requirements.Write TM.TestCases TM.TestCases.Read TM.TestCases.Write TM.TestExecutions TM.TestExecutions.Read TM.TestExecutions.Write TM.TestSets TM.TestSets.Read TM.TestSets.Write TM.Users TM.Users.Read TM.Users.Write
So all the scopes I can set in the external Application tab. I can’t find the KPIs.Read Scope there.
Is it hidden somewhere else?

Kind regards
Sebastian

Hi @sebastian-marcin.lewko,

The availability of scopes in an external application tab depends on the API or platform you are using.

  • If you can’t find the KPIs.Read scope in the external application tab, it’s possible that it’s not supported by the API or platform.
  • You may need to check the API or platform documentation or contact their support team.