Status code 500 when querying compass component data

Moin Community,

I am facing a problem when I try to query compass component data from a Jira Issue Panel. The error message sounds like that the query does not conform to the expected schema.

{
  "errors": [
    {
      "message": "The compass catalog schema has changed. Try upgrading SDK package version.",
      "errorSource": "FORGE_GRAPHQL",
      "errorType": "INTERNAL_SERVER_ERROR",
      "statusCode": 500
    }
  ],
  "success": false,
  "data": {
    "component": null
  }
}

The query:

const componentId = 'ari:cloud:compass:a03bb093-cc4b-4e1f-9921-56815785dd32:component/b1f40c39-e2ba-43fd-874d-d166453f0a35/2256fe25-9918-4198-a435-e6d3cd14d2ae';
graphqlGateway.compass.asApp().getComponent({ componentId }).then((c) => {
  console.info('Compass component: ', c);
});

I use the graphqlGateway from the @atlassian/forge-graphql version 8.9.3 which is the newest version.

Has anybody an idea what is wrong and how to solve this?

1 Like