Get access token results in error 'access_denied' unauthorized

I’m trying to get a connection to read data (hour data). We already have an application to read data from Jira. This works well with basic authorization, but we want to work it with oauth. The url generateded in soapUI is:

the redirect_uri is also used in the app I created in Jira.
I get

I also tried (after generating a new code) a curl command
and I get the same error.

Can you help me get an access token?