“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:
- https://api.loket.nl/v2/providers/employers/payrolladministrations/GUID/payrollperiods
- https://api.loket.nl/v2/providers/employers/payrolladministrations/payrollruns/GUID
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.