Hi @bhagyesh.koshti ,
Are you using the latest refresh_token value in your request? Each time you generate a token, you’ll have a new refresh token.
If that is not the problem, are you able to make a request in Postman? If you can make the request successfully in Postman, it may be a code logic issue. Please click the thread below for example:
Gianni