I have about ~1000 organizations I am trying to load into the WC1 pilot environment.
Doing some throughput testing and I'm getting getting consistent 401 errors after creating a case and performing the async screening request after ~10-15 requests. On an immediate restart, works fine (continuing from the organization it failed on) and returns 401 again after successfully creating another ~10-15 requests. Each SEQ_case_create_organization and SEQ_screen_async are separated by a 2 second delay.
Figured it out. Function call to create the hmac signature for each request was not grabbing the most recent datetime stamp, therefore after 15 or so API calls, the datetime being passed to the datatosign was stale.