Thumbnail resolution types returning same resolution

Hi,

I am having issues requesting different resolutions via GraphQL.
My query looks as the following:

query {
  class_name{
    totalCount
    edges {
      node {
        id
        ...
        media_name {
          fullpath
          resolutions(thumbnail: "thumbnail_name", types: [1,3,5]) {
            url
            resolution
          }
        }
      }
    }
  }
}

The response contains the right resolution in “resolution”, but “url” contains always the same url (in this case resolution 5, as it is always the last of the types array):

"resolutions": [
     {
       "url": "/images/.../pic%20000047@5x.webp",
       "resolution": 1
     },
     {
       "url": "/images.../pic%20000047@5x.webp",
       "resolution": 3
     },
     {
       "url": "/images/.../pic%20000047@5x.webp",
       "resolution": 5
     }

]

Is it necessary to configure something in the thumbnail to get it working?

Kind regards
Philipp