Invalid Token! Zoom API fail to generate access token using refresh_token

I am using Zoom api to refresh access token if expired. I have tried everything but its always gives me invalid_grant(Invalid Token!) error. I also tried this but problem seem unsolvable. The token I generate is never used but still it gives me invalid_grant error.
Here is detail code

Hi @s.m.sami125
Thanks for reaching out to the Zoom Developer Forum and welcome to our community, I am happy to help here!

Could you please confirm that you are using the right client id and client secret to make the call to the refresh token?

I will send you a private message so I can help you debug this issue further
Best,
Elisa