BAD_REFRESH_TOKEN while trying to refresh token

Solved it. We were using access_token instead of refresh token to refreshing