Error: 403 Forbidden Unable to find Client ID from Partner Customers in Cost History API
search cancel

Error: 403 Forbidden Unable to find Client ID from Partner Customers in Cost History API

book

Article ID: 445187

calendar_today

Updated On:

Products

CloudHealth

Issue/Introduction

CloudHealth Cost History API calls for specific partner customers return a 403 Forbidden error. This occurs even when the API key and permissions are otherwise valid, specifically when the target customer accounts are not in an active state.

Environment

  • CloudHealth Partner Console
  • CloudHealth Cost History API
  • CloudHealth SaaS

Cause

Symptom: API requests return the following error response: 403 Forbidden: {"error":"Unable to find Client ID from Partner Customers"}

Cause: The API cannot resolve a Client ID for the requested domains because the customer accounts are in a Soft Deleted or Deleted state. The API does not return data for customers that have been deactivated or marked for deletion in the CloudHealth platform.

Resolution

  1. Log in to the CloudHealth Partner Console.
  2. Navigate to Customers > Customer List.
  3. Search for the impacted customer.
  4. Verify the Status column for these customers.
  5. If the customers are not listed, the API will continue to return a 403 error.
  6. To retrieve data via the API, the customer must be restored to an Active state.
  7. If the customers should be active, contact Broadcom Support to request a restoration of the soft-deleted records.

Additional Information

  • Ensure the API endpoint is set to https://chapi.cloudhealthtech.com/.
  • Subscribe to this article to receive updates on customer state management and API behaviors.