HTTP 403 error "Forbidden" on a GET request

Symptom

A GET REST request returns response code 403 and the response body contains the following text string:

Forbidden

Cause

The user attempting the request is a member of the Auditors group, and the GET request specified a switch resource that users with auditor rights are not permitted to access.

行动

  1. 登录和用户名那REST APIt has operator or administrator rights.