Page MenuHomePhabricator

Citibank Import for International donations is not working
Closed, ResolvedPublic1 Estimated Story Points

Description

The import for the Citibank Individual is throwing us an error message when we do the import:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=758&op=do StatusText: Service unavailable (with message) ResponseText: CiviCRM_API3_Exception: Expected one Contact but found 0 in civicrm_api3() (line 46 of /srv/org.wikimedia.civicrm/civicrm/api/api.php).

I've added the file to the server, here's the file path:

smb://10.149.10.174/Fundraising/Tech/Citibank/Citibank International Oct_2019.csv

We really need this fixed soon so we can reconcile October before things get super busy.

Event Timeline

RLewis triaged this task as High priority.Nov 26 2019, 5:46 PM

@RLewis you were hit by an attack of the tidying Fairy - aka @NNichols

Citibank imports are imported to a contact with the following details

'contact_type' => 'Individual',
'last_name' => 'Citibank',
'email' => 'fakecitibankemail@wikimedia.org',

Nora made them more sensible but the code didn't handle the changes. If you do wish to change those we need to update the code.

I've subtlely renamed the non-last_name name fields to make this more obvious... contact 31398010

Your import is in now

DStrine moved this task from Triage to Current Sprint on the Fundraising-Backlog board.
DStrine subscribed.