Quantcast
Channel: Topliners : All Content - All Communities
Viewing all articles
Browse latest Browse all 3420

Error with Importing Custom Object records on Bulk API 2.0

$
0
0

Hello,

 

New to the community and looking forward to contribute! I do have an issue that I think a more advanced user of the Bulk API 2.0 can help me solve.  It is related to errors when trying to import data using the Bulk API 2.0.  Seems like I am missing one small thing somewhere.

 

Here is the first response POST to create the Import Definition:

 

{     "name":"4725979261084666848",     "fields":{          "DocuSign_Member_ID1":"{{CustomObject[45].Field[461]}}",          "DocuSign_Account_Name1":"{{CustomObject[45].Field[431]}}",          "Email_Address1":"{{CustomObject[45].Field[454]}}"},     "identifierFieldName":"DocuSign_Member_ID1",     "isSyncTriggeredOnImport":false,     "isUpdatingMultipleMatchedRecords":false,     "uri":"/customObjects/45/imports/353370",     "createdBy":"Boomi.User",     "createdAt":"2014-08-01T16:50:49.0767301Z",     "updatedBy":"Boomi.User",     "updatedAt":"2014-08-01T16:50:49.0767301Z"
}

 

So it looks like the import correctly correctly.

 

Here is the post that I've made to include the data import:

 

[  {    "DocuSign_Member_ID1" : "123456",    "DocuSign_Account_Name1" : "Test Account Name",    "Email_Address1" : "test1@test.com"  },  {    "DocuSign_Member_ID1" : "2134123",    "DocuSign_Account_Name1" : "2Test Account two",    "Email_Address1" : "test2@test.com"  }
]

 

With a successful response.  I've then sent a Sync message to move data from stage to the database:

 

{     "syncedInstanceUri":"/customObjects/45/imports/353370",     "status":"pending",     "createdAt":"2014-08-01T16:50:58.2870270Z",     "createdBy":"Boomi.User",     "uri":"/syncs/369156"
}

 

And now I checked the logs for the import and this is what the response is:

 

{
"items":     [          {               "syncUri":"/syncs/369156",               "count":0,               "severity":"information",               "statusCode":"ELQ-00104",               "message":"Successfully converted file 2014-08-01T16-50-55_User485_911581a29de84c5e935b6447f6f1d08e.json (0 kb) with json converter.",               "createdAt":"2014-08-01T16:50:58.8970000Z"          },          {               "syncUri":"/syncs/369156",               "count":0,               "severity":"error",               "statusCode":"ELQ-00127",               "message":"There are no mapped fields in the file 2014-08-01T16-50-55_User485_911581a29de84c5e935b6447f6f1d08e.csv.",               "createdAt":"2014-08-01T16:50:59.0200000Z"          },          {               "syncUri":"/syncs/369156",               "count":0,               "severity":"error",               "statusCode":"ELQ-00107",               "message":"There was an error processing the import.",               "createdAt":"2014-08-01T16:50:58.9730000Z"          },          {               "syncUri":"/syncs/369156",               "count":0,               "severity":"warning",               "statusCode":"ELQ-00110",               "message":"Trying to unlock file 2014-08-01T16-50-55_User485_911581a29de84c5e935b6447f6f1d08e.csv on import 353370 for user 485. File has been unlocked.",               "createdAt":"2014-08-01T16:50:59.0070000Z"          },          {               "syncUri":"/syncs/369156",               "count":0,               "severity":"information",               "statusCode":"ELQ-00101",               "message":"Sync processed for sync 369156, resulting in Error status.",               "createdAt":"2014-08-01T16:50:59.0070000Z"          }     ],
"totalResults":5,
"limit":1000,
"offset":0,
"count":5,
"hasMore":false
}

 

I haven't been able to figure out exactly why the import hasn't happening.  Please let me know if you all can spot check my json api calls and help me understand why it may not be processing.

 

Thanks,

Long


Viewing all articles
Browse latest Browse all 3420

Trending Articles