question

Upvotes
Accepted
3 0 0 2

Batch Screening - Access Denied

We are using .NET to access the batch screening api.

The below code returns Access Denied.

var batchesResponse = await batchWebServiceClient.createInitialAsync(batchRequest);

where

batchRequest

{

assigneeIdentifier = "cnu_so_162",

batchNames = batchNames, // - array of batchName[]

groupIdentifier = “cng_so_120”,

name = "",

ownerIdentifier = "cnu_so_162"

};

world-checkscreeningauthenticationscreening-apibatch
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
3.1k 16 7 7

Hi @claudio,

I've checked and updated your permissions to include batch processing.

Let me know if this fixes your issue.

Hope this helps,

Brian

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3.1k 16 7 7

Hi @claudio,

Before we look into this API request, have you successfully made other Screening Online API requests? like getSelectableGroups with the proper security header in the body?

Hope this helps,

Brian

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3 0 0 2

Hi @brian.bourgault

Yes, we are succesfully using the screening API to perform individual searches but we are getting this error with the batch API.

Regards,

Claudio

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3.1k 16 7 7

Hi @claudio,

You are using the incorrect userIndentifier and groupIdentifier for your login account.

Your login account (name@company.com) has your userIdentifier - cnu_so_1xx and the group your userIndentifier has permissions to is groupIdentifier - cng_so_2xx

Note the difference between group vs user identifiers, (i.e. cng vs cnu)

Hope this helps,

Brian

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea