Hi @tilaka,
The error message indicates that the refresh_token
grant type is not allowed for your client.
Please refer to this post which explains to update your application using the Management API Update a client endpoint to set the is_first_party: true
.
Thanks,
Rueben