Getting the Internal server error while calling collections gql query

Getting the below error while calling collections(first: 250, sortKey:ID)

“code”: “INTERNAL_SERVER_ERROR”, “message”: "Internal error. Looks like something went wrong on our end.

whats the full query?