API Error 403 Forbidden

Hi zusammen,

ich kann aktuell in der API Doku keine erfolgreichen API Calls machen.

https://www.sim-dispatcher.com/API/v1/Info/System

Response:
{
„title“: „Access to the resource is forbidden.“,
„status“: 403,
„instance“: „/API/v1/Info/System“,
„traceIdentifier“: „0HNIVSUSBOC42:0000009E“
}

Ist das so angedacht, dass die Test Request Funktion in der Doku immer auf einem 403 endet?

2 Answers

2

Alle Endpunkte benötigen Authentifizierung mit dem JWT. Dieser wird im HTTP-Header übertragen: Authorization: Bearer <jwt>

Thanks, but that’s not the issue for me — the JWT is being sent correctly in the header (confirmed by the fact that GET /API/v1/Keyword/{dpcId} and GET /API/v1/Unit/{dpcId} work flawlessly with the same token and client, returning 200 OK).

My specific problem: with a client_credentials client (dispatch center #33134, IRLS Chemnitz) I consistently get a 403 Forbidden response on GET https://platform.sim-dispatcher.com/API/v1/Operation

— even with an active session running in the dispatch center. When creating the client, there was no scope selection.

Is Operation (Realm-Services) fundamentally (still) not released for client_credentials, or does it require an additional activation per dispatch center?