Skip to main content
Question

Postman 401 on Cloud 24R2

  • April 4, 2025
  • 6 replies
  • 229 views

Forum|alt.badge.img+7

Hello,

 

I followed the steps in https://docs.ifs.com/techdocs/24r1/040_tailoring/300_extensibility/010_get_started/400_quickstarts/010_auth/#step_2_-_obtain_the_token_endpoint
 

But I always get a 

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<center>
<div><h1>401 - Authorization Required</h1></div>
<div><small>IFS Cloud<small></div>
</center>
</body>
</html>

 

Is the a specific page to test and debug logs ?

We are looking to upload documents using the API, but we are stuck with this 401 error.

Help appreciated.

6 replies

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • April 4, 2025

Hi ​@MCIPSTEV 

I see you are missing the Scope.

Attached below is my Postman auth setup for your reference :)

Cheers!

Damith


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • April 4, 2025

just noticed that the token generation will not fail even though the Scope is empty.

Maybe something to do with your IAM Client setup?

 

Here’s a IAM client setup for client credential authentication

 


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • April 4, 2025
This is my postman setup

And setup on IFS
 

dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • April 4, 2025

Hi ​@MCIPSTEV 

Check the postman console and in the response headers, look for WWW-Authenticate header. It might give a hint

 

Best Regards,

Damith


Forum|alt.badge.img+7
  • Author
  • Sidekick (Customer)
  • April 4, 2025

Thanks,

I found something:

But self signed certifcates works normally fine


dsj
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • April 4, 2025

Hi ​@MCIPSTEV 

Try disabling the SSL certificate verification in postman File → Settings or by adding the certificate

https://learning.postman.com/docs/sending-requests/authorization/certificates/

 

Hope it helps!

Damith