This query fails for one of our app users:
{
files(sortKey: CREATED_AT, reverse: true, first: 12, query: "media_type:video OR media_type:image AND -status:FAILED") {
edges {
node {
__typename
fileStatus
preview {
status
image {
width
height
src
url(transform: {maxWidth: 300, maxHeight: 300, preferredContentType: PNG})
}
}
... on GenericFile {
id
url
}
... on MediaImage {
id
image {
src
}
}
... on Video {
id
filename
sources {
fileSize
format
height
width
mimeType
url
}
}
}
cursor
}
pageInfo {
hasNextPage
}
}
}
Internal error. Looks like something went wrong on our end.
Request ID: be66bd1a-06aa-4af9-acb2-472ffb749cd5 (include this in support requests).
However, if I change the reverse: true parameter to reverse: false it works.
Curiously the reverse: true works if I change the sortKey to FILENAME or ORIGINAL_UPLOAD_SIZE. sortKey of ID still has an error though.