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:
POST https://auth.atlassian.com/oauth/token?grant_type=authorization_code&client_id=C4w0G3w76j6BioQtkcAjM3dqXGlNlrg4&client_secret=ivlF2zFJlc8oj27qdnalKxGNNfsydU8qsK898F_adiSfBefUjNL8t2YLASU_BzCz&code=VeR4Um23nfInc7Rd&redirect_uri=https%3A%2F%2Fqics.kentro.nl HTTP/1.1

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

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?