401 Unauthorized - IBM/IFT-Developer-Zone GitHub Wiki
The Connector API rejects the XML submission and returns a 401 Unauthorized response.
If using Swagger, ensure that you are logged in by using the link at the top of the page (Authenticate here first).
If programmatically submitting the xml or using a 3rd party REST tool, ensure the
request header Authorization is set with a value of Bearer (<token>)
in the request.
Before clicking Authenticate here first in Swagger to obtain a token, please ensure
you are in the correct environment (integration or production).