Failing to generate Access and Refresh Token

Failing to generate Access and Refresh Token

Hello. 
I have two problems:
First one when generating Access and Refresh Token I get this response: 

As per the guide here : https://www.zoho.com/books/api/v3/#oauth (using server based application) I'm following all the steps.
I have managed to get Grant token with this request : https://accounts.zoho.eu/oauth/v2/auth?scope=ZohoCRM.modules.ALL&client_id=1000.MY_ID&response_type=code&access_type=offline&redirect_uri=http://localhost:3000

And then redirecting user to this location: https://accounts.zoho.eu/oauth/v2/token?code=1000.TOKEN_IRECIEVED_FROM_THE_FIRST_STEP&client_id=1000.CLIENT_ID_FROM_CONSOLE&client_secret=CLIENT_SECRET_FROM_CONSOLE&redirect_uri=http://localhost:3000&grant_type=authorization_code

And after these steps I get the error above.


My second problem is trying to achieve the same with "Client based application", I can't even get the grant token. It always states that my client id doesn't exist.