You could try checking:
The redirect_uri in your refresh request must exactly match the one used during the initial token request.
Check if you are using the correct authentication method: If your Snowflake integration uses CLIENT_SECRET_BASIC, use --user client_id:client_secret
If it uses CLIENT_SECRET_POST, pass client_id and client_secret in the request body
Check if you are Using Snowflake’s token endpoint, not Microsoft’s: ex: https://<account>.snowflakecomputing.com/oauth/token-request
You are correct to use the ver:2-hint: token — that’s the refresh token. Ignore the doc using ver:1-hint: — that’s outdated/confusing.