HTTP 403 error on PayrollRunByPayrollRunId on Loket: Client does not have access to activity

“Client” here means “client application”: a registration of an OAuth app by Invantive on the Loket-cloud.

The original Loket error is:

Client does not have access to activity.

See Loket: tabelnaam voor GetRunOverviewsByPayrollRunId endpoint - 4 van forums for a similar problem.

We have raised a request #209327 at Loket to grant the client application of Invantive access to this endpoint:

When found that approval is possible, it can take several weeks to approve and released into production. There is no code change necessary at Invantive for the additional privileges.