Return proper error on requests with an unbalanced number of quotes.