Invalid client id or secret

Hello! I am so happy to start working with Postman. All curl details are given on the Handelsbanken Developer page. This information is from their sandbox. And because I am a total beginner, I cannot find obvious errors.

curl -X POST
-H ‘X-IBM-Client-Id: f31b7318-8f21-4eaf-8817-6b5e4e02d6bc’
-H ‘Authorization: Bearer QVQ6YmNlZjI0M2QtZDBhZi00OGZiLWE0OTgtZGUwMTJhMDdjMjYz’
-H ‘Accept: application/json’
-H ‘Content-Type: application/json’
-H ‘Country: <ISO 3166-1 country code>’
-H ‘TPP-Request-ID: ’
-H ‘TPP-Transaction-ID: ’
-d ‘{“access”:“ALL_ACCOUNTS”}’

I am struggling with Step 2

How to avoid “Error 401”?

You can’t use the client credentials from the example (which it looks like your doing from your screenshots).

You have to use your own. You need to sign up and create a test app and use the client credentials for that.

You need to get the first request working properly first.

1 Like

Yes, after registering the app, everything worked properly, thank you very much!