Unauthorized_client: The client is not authorized to use the provided grant type

Hi, I have application created in Okta as attached and while using it with my python authlib code its giving error
unauthorized_client: The client is not authorized to use the provided grant type. Configured grant types: [refresh_token, authorization_code].

I am using client id and secret for openid connect

Does someone came across similar issue?

The error message is telling you which grant types are enabled for your client, but what grant type are you currently trying to use that causes you to get this error? If you’re not sure, do you have a sample /authorize or /token request for review?