The response type is not supported by the authorization server. Configured response types: [code].', error_uri: 'error_uri is null'

I use the example from Okta and it works, problem is that I am trying to build something on my own and I get this error: The response type is not supported by the authorization server. Configured response types: [code].’, error_uri: ‘error_uri is null’.
any help?

What response_type are you using in your /authorize request? Based on the error message, your app only has the Authorization Code grant type enabled.

how can I enable more types?

You should be able to allow more grants in the access policy/rule settings of the authorization server you’re using.
https://help.okta.com/en/prod/Content/Topics/Security/API_Access.htm