You receive error "(401)Unauthorized" when trying to connect from Jasper Studio in a SaaS System
Steps to Reproduce:
Expected Result: The Connection should be successful provided all the information are correct
Actual Result: Error "(401)Unauthorized"
Release: Clarity 15.1-15.7 (SaaS and On-Prem)
Jasperstudio connects using an internally defined user which has "ROLE_ADMINISTRATOR" access rights, we need to make sure that the user is set-up properly and SaaS Systems are configured to allow only SOAP Protocol.
Ensure you have the user set up properly in Jasper Server. To do this, follow the below instructions:
See also: Jaspersoft / Reports frequently reported issues with Clarity
Important Notes for Jaspersoft Studio 7.9
This document above applies to older versions of JS Studio and not to 7.9.
By default (unless the setting is changed), Studio will try REST first and if that fails, it will try SOAP.
However, both should work fine in JS 7.9, unless there is a corporate firewall or proxy blocking one or both of the two.