API Error: Invalid Client

API Error: Invalid Client

I am getting below response while trying to authenticate with https://accounts.zoho.com/oauth/v2/token endpoint with self client,
{
"error": "invalid_client"
}
I have checked multiple times that I am using correct credentials and code generated from api console. can anyone help me resolve this?

                  New to ADSelfService Plus?