Have you updated the allowed grant types for your application to include “refresh token”?
You need to go to Applications -> Select your application -> General -> Select refresh token
Also, if you point the exact step you got the error, we can debug it further.
