REST call returns HTTP 403 forbidden

SYMPTOM

REST call returns HTTP 403 forbidden

 

CAUSE

The REST user has no privileges to access the the method or data.

 

SOLUTION

Make sure that the user you use for REST is member of a Role that gives sufficient privileges for its operations.

For example the user needs _APIRead or _APIReadWrite to use REST at all.

To access data from a device you need a _ReadData privilege. More info here.

To read jobs you need _DispatchReadAllJobs

All privileges are listed here.

A very useful way to see the privileges of a user is to right click on it in VehicleTracker and select "Overview".