Unexpected DataFetchingException error from GrapghQL to create a web trigger url

I use this GraphQL to create the web trigger url on a Forge Remote

mutation forge_app_createWebTriggerUrl($input: WebTriggerUrlInput!) {
  createWebTriggerUrl(input: $input, forceCreate: false) {
    id, success, message, url
  }
}

It works without any issue when handling a lifecycle event on the remote, and till today it also worked when the same Forge Remote is called using a UI Resolver function.

Now I get this error

[{message=Internal error occurred. Id: 583cae70-c3bd-4fa5-b79d-322b897e2556., locations=[{line=1, column=77}], path=[createWebTriggerUrl], extensions={errorSource=UNDERLYING_SERVICE, classification=DataFetchingException, statusCode=500}}]

But to make it even more interesting, this doesn’t seem to effect all instances.

In both methods of calling a systemAppToken is used so why is the call working when handling a lifecycle event, and erroring out for some tenants when called using a UI resolver function?

The forge remote in question is a Spring Boot application running the Atlassian Connect Spring Boot starters.

Looks like the GraphQL only accepts UUID appIds and not when the appId is in an ari format.