Error handling for empty MDX request