Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Bulk API issue: Arithmetic overflow error converting int to data type numeric

We're currently trying to migrate about 16 million Account records using the Bulk API, parallel concurrency, and a sort column. In our latest testing attempt we were about to migrate 2.8 million records in 30 minutes, until the job suddenly aborted and provided the below error message.

--- Starting SF_BulkOps for Account_B2C_Client_Migration V3.5.7
15:17:45: Run the DBAmp.exe program.
15:17:45: DBAmp Bulk Operations. V3.5.7 (c) Copyright 2006-2017 LLC
15:17:45: Inserting Account_B2C_Client_Migration (WRTL2BHDZ / SSE_Staging).
15:17:46: DBAmp is using the SQL Native Client.
15:17:46: Batch size reset to 10000 rows per batch.
15:17:55: Sort column will be used to order input rows.
15:17:55: SF_Bulkops will poll every 900 seconds for up to 18000 seconds.
15:17:56: Job 7500t000000Z0RWAA0 created.
15:17:57: Batch 7510t000000RsLWAA0 created with 10000 rows.

(deleted the many batch rows in between here)

15:37:28: Batch 7510t000000Rt5pAAC created with 10000 rows.
15:37:28: Error: Unable to create batch.
15:37:28: FAHttp::Send::WinHttpWriteData
A security error occurred

15:37:28: Error: Stopping because unable to create batch.
15:37:29: Job aborted.
15:37:29: 10500001 rows read from SQL Table.
15:37:29: Errors occurred. See Error column of row and above messages for more information.
Msg 8115, Level 16, State 8, Line 1
Arithmetic overflow error converting int to data type numeric.
15:37:33: Error: DBAmp.exe was unsuccessful.
15:37:33: Error: Command string is C:\"Program Files"\DBAmp\DBAmp.exe insert:bulkapi,parallel,batchsize(10000) Account_B2C_Client_Migration "WRTL2BHDZ" "SSE_Staging" "SALESFORCE_MIG" " "
--- Ending SF_BulkOps. Operation FAILED.

The message looks like an issue with the sort column, since it is the only int column in the table, but I'm not sure. I also didn't see much of anything about this already being asked. Is there any pathway to fixing something like this?
1 person has
this problem