<!-- JIRA SYNC START -->
# QSP-41790: [Scorecards API] API returns 404 for existing result for GMG

**Status**: In Progress
**Type**: Bug
**Priority**: High
**Assignee**: Gerald Spenlingwimmer
**URL**: https://dt-rnd.atlassian.net/browse/QSP-41790
**Synced**: 2026-04-16T12:15:09.000Z

## Description

---

# Description

Hi ,


 In the hub console, we're trying to fetch scorecard results to add a check in the release approval process.
 However, I am getting error 540 when trying to fetch the results.
OAuth scopes used in the authentication: `app-engine:apps:run storage:buckets:read storage:bizevents:read storage:smartscape:read`
API request:


```
curl --request POST \
  --url https://gmg80500.dev.apps.dynatracelabs.com/platform/app-engine/app-functions/v1/apps/dynatrace.scorecards/api/scorecard-results \
  --header 'authorization: Bearer {token}' \
  --header 'content-type: application/json' \
  --data '{
  "appID": "dynatrace.hub.console",
  "version": "1.36.1-dev.20260416T104031"
}'
```

Response:


```
{
  "error": {
    "code": 540,
    "message": "Execution crashed",
    "details": {
      "logs": "",
      "type": "UNCAUGHT_EXCEPTION",
      "message": "Uncaught error"
    }
  }
}
```

Can someone help with this issue? Thanks!


- Also add [https://developer.dynatracelabs.com/develop/guides/app-functions/handle-errors/](https://developer.dynatracelabs.com/develop/guides/app-functions/handle-errors/)


# Expected behaviour

- The API returns data for existing version in the FE

- Error handling is in place

- The scorecards-monitoring workflow is adjusted to use logLevel param instead of log.level (Monaco)

<!-- JIRA SYNC END -->
