401 error on REST API call to Business Hub

Hi
I’ve a trial deployment of Business Hub in AWS - all working as expected.
I’ve then deployed a very simply test workflow as a REST service.
The Swagger documentation for the deployed test service returns the expected values - so this is doing what I expect it to.
I’ve set up an application password for the user and also set the access rights for the deployed workflow to includes the current user.
I’ve then tried accessing the REST API from both Postman and also a POST node in a separate KNIME workflow (on the same Hub) and both are returning 401 errors.
I’m passing the application password as Basic Authentication credentials in both cases (Postman & KNIME POST node). Also tried encoding the authentication credentials in Base64 and even tried including this in the Header body as a key value pair.
No luck in getting past the 401 error.
I’m confident that I’m hitting the server but how do I get the request authorised?
Any pointers on where I’m going wrong would be really appreciated!
Thanks
Andrew

Hi there
Found the error!!! (An incorrect id on the application password setting)
API now working as expected;)
Andrew

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.