Fixed error message mismatch for grant type