Requesting paymentIcon data for a failed transaction results in an error

It seems there is a server-side problem when requesting paymentIcon data for a failed OrderTransaction:

{
  "errors": [
    {
      "message": "Internal error. Looks like something went wrong on our end.\nRequest ID: e8490241-6fc4-4648-8dca-f3f5b2a31bfd-1734534764 (include this in support requests).",
      "extensions": {
        "code": "INTERNAL_SERVER_ERROR",
        "requestId": "e8490241-6fc4-4648-8dca-f3f5b2a31bfd-1734534764"
      }
    }
  ],
  "data": null
}

Minimal GraphQL query to reproduce this issue:

query($orderID: ID!) {
  order(id: $orderID) {
    transactions {
      paymentIcon {
        id
      }
    }
  }
}

where orderID is gid://shopify/Order/11455325143421 in my case. This occurs with all current API versions.

Sorry if this is not the correct place to report an issue such as this one.

Hi mjodko,

I’ve dug into this on our side and it seems like there is a bug on our side which is the cause of this error. The team are investigating a fix but I don’t have a timeframe to share on when it will be resolved.