GraphQL will only return data if it exists. If you get an empty array for groups then I would assume there are no items in that group on that board.
But if that group does indeed have items in it & API is returning the wrong info, please open a technical support ticket with our API team! We’ll sort it out.