Error Client is Not Authorized to Access API

Overview

An error is being received when trying to test a newly created API:

Client is not authorized to access \"API URL". You need to create a \"client-grant\" associated to this API

Applies To
  • Access API
  • Client
Cause

The error does explain that the application is missing authorization, but the linked documentation Create client grant addresses client grants, not API authorization settings.

Solution

The client is most likely not authorized. This can be corrected by going to Applications > API > Management API > Machine to Machine Applications in the tenant dashboard.

d5ec899271272884d07121c5b35aff636e306f1f_2_1262x998.jpeg

 

Recommended content

No recommended content found...