Not able to generate access and refresh token using Zoho CRM api URLs

Not able to generate access and refresh token using Zoho CRM api URLs

Hi,
I am not able to create access and refresh token after entering the api url with   grant_type,client_id,client_secret,redirect_uri,code parameters in the api URL.The URL shows "Server error occured".Any help would be appreciated.