How to resolve error " '401 Unauthorized' <b>Description: </b>Anonymous user login in the Composite domain is not enabled."?

How to resolve error " '401 Unauthorized' <b>Description: </b>Anonymous user login in the Composite domain is not enabled."?

book

Article ID: KB0071163

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization 8.4 and later, 8.5 and later, 8.6 and later and 8.7

Description

When working with the published resources as Web Services in Postman the below exception message is observed when Authorization is set to 'Basic Auth':
User-added image
 

Environment

All supported environment

Resolution

This exception comes because Enabled HTTP Basic is set to False in TIBCO Data Virtualization.

To resolve this issue follow the below steps:
1. In TIBCO Data Virtualization studio open the published resource as Web Services. Set the value to TRUE for Enabled HTTP Basic and save the changes:

User-added image


2. Obtain the response by opening Postman again and executing the GET request:

User-added image

Issue/Introduction

This article explains the exception message which might pop up in the postman while working with published resources in TIBCO Data Virtualization