401 Unauthorized errors occur when trying to run Swagger API commands.
search cancel

401 Unauthorized errors occur when trying to run Swagger API commands.

book

Article ID: 392529

calendar_today

Updated On: 03-31-2025

Products

VMware Aria Suite

Issue/Introduction

When using the ABX Swagger page to authorize a user any subsequent calls to any API fails with the provided bearer token.  Returning a 401 "unauthorized" error.

Environment

Aria Automation 8.x

Cause

This is caused when adding the Bearer token to the Authorization value.  The ABX api does not place Bearer in the front of the Authorization, preventing a proper login.

Resolution

Add the word "Bearer" before adding the token in the Authorization value box.  This defines the type of authorization as being a Bearer token.