Error when attempting one-way import
Created by: MegaphoneJon
I tried a one-way import since it seemed like the simplest task. I didn't configure the mapping at all - I thought I didn't need to but maybe I'm misunderstanding the docs? Anyway, I got this in the Scheduled Job log for OSDIQueue.Run
:
Entity: OSDIQueue Action: Run
Summary
Finished execution of Call OSDIQueue.Run API with result: Success (a:1:{s:6:"result";a:5:{s:8:"is_error";i:1;s:9:"exception";O:22:"CiviCRM_API3_Exception":8:{s:35:"CiviCRM_API3_ExceptionextraParams";a:6:{s:5:"field";s:4:"name";s:10:" (...)
Details
Parameters parsed (and passed to API method):
a:1:{s:7:"version";i:3;}
Full message:
Finished execution of Call OSDIQueue.Run API with result: Success (a:1:{s:6:"result";a:5:{s:8:"is_error";i:1;s:9:"exception";O:22:"CiviCRM_API3_Exception":8:{s:35:"CiviCRM_API3_ExceptionextraParams";a:6:{s:5:"field";s:4:"name";s:10:"error_code";i:2100;s:6:"entity";s:7:"Mapping";s:6:"action";s:3:"get";s:8:"is_error";i:1;s:13:"error_message";s:79:"Value for name is 69 characters - This field has a maxlength of 64 characters.";}s:10:"*message";s:79:"Value for name is 69 characters - This field has a maxlength of 64 characters.";s:17:"Exceptionstring";s:0:"";s:7:"*code";i:0;s:7:"*file";s:92:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/api/api.php";s:7:"*line";i:45;s:16:"Exceptiontrace";a:22:{i:0;a:4:{s:4:"file";s:113:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/uploads/civicrm/ext/civicrm_osdi/CRM/OSDIQueue/Tasks.php";s:4:"line";i:40;s:8:"function";s:12:"civicrm_api3";s:4:"args";a:3:{i:0;s:7:"Mapping";i:1;s:3:"get";i:2;a:2:{s:4:"name";s:69:"OSDIREMOTE_https://test-drupal.megaphonetech.com/civicrm/osdi/webhook";s:7:"version";i:3;}}}i:1;a:6:{s:4:"file";s:99:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Queue/Task.php";s:4:"line";i:88;s:8:"function";s:10:"AddContact";s:5:"class";s:19:"CRM_OSDIQueue_Tasks";s:4:"type";s:2:"::";s:4:"args";a:2:{i:0;O:21:"CRM_Queue_TaskContext":2:{s:5:"queue";O:19:"CRM_Queue_Queue_Sql":1:{s:22:"CRM_Queue_Queue_name";s:21:"com.civicrm.osdiqueue";}s:3:"log";O:8:"Log_file":16:{s:9:"_filename";s:122:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/uploads/civicrm/ConfigAndLog/CiviCRM.63c0face60f9ca29c6db1501.log";s:3:"_fp";i:0;s:7:"_append";b:1;s:8:"_locking";b:0;s:5:"_mode";i:420;s:8:"_dirmode";i:493;s:11:"_lineFormat";s:21:"%1$s %2$s [%3$s] %4$s";s:11:"_timeFormat";s:14:"%b %d %H:%M:%S";s:4:"_eol";s:1:"
";s:7:"_opened";b:0;s:3:"_id";s:32:"0fcaa8ac83a85099905e318c7a629e20";s:6:"_ident";s:0:"";s:9:"_priority";i:6;s:5:"_mask";i:255;s:10:"_listeners";a:0:{}s:10:"_formatMap";a:9:{s:12:"%{timestamp}";s:4:"%1$s";s:8:"%{ident}";s:4:"%2$s";s:11:"%{priority}";s:4:"%3$s";s:10:"%{message}";s:4:"%4$s";s:7:"%{file}";s:4:"%5$s";s:7:"%{line}";s:4:"%6$s";s:11:"%{function}";s:4:"%7$s";s:8:"%{class}";s:4:"%8$s";s:3:"%\{";s:3:"%%{";}}}i:1;s:939:"O:12:"PeopleStruct":5:{s:6:"person";a:13:{s:11:"family_name";s:0:"";s:10:"given_name";s:0:"";s:15:"additional_name";s:0:"";s:16:"honorific_prefix";s:0:"";s:16:"honorific_suffix";s:0:"";s:9:"gender_id";s:0:"";s:8:"employer";s:0:"";s:15:"email_addresses";a:1:{i:0;a:2:{s:7:"address";s:17:"admin@example.com";s:7:"primary";b:1;}}s:16:"postal_addresses";a:1:{i:0;a:6:{s:7:"primary";b:1;s:13:"address_lines";a:1:{i:0;s:0:"";}s:8:"locality";s:0:"";s:6:"region";s:0:"";s:7:"country";s:0:"";s:11:"postal_code";s:0:"";}}s:13:"phone_numbers";a:1:{i:0;a:3:{s:7:"primary";b:1;s:6:"number";s:0:"";s:11:"do_not_call";s:1:"0";}}s:18:"preferred_language";s:5:"en_US";s:13:"custom_fields";a:1:{s:48:"CIVI_ID_aaebfdccdd9ba0e2efa2697eeea132f61be605ce";i:3;}s:13:"modified_date";s:19:"2018-08-01 12:44:25";}s:4:"rule";i:-1;s:7:"groupid";s:1:"2";s:6:"apikey";s:11:"OSDI_rxcjro";s:8:"endpoint";s:58:"https://test-drupal.megaphonetech.com/civicrm/osdi/webhook";}";}}i:2;a:6:{s:4:"file";s:101:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Queue/Runner.php";s:4:"line";i:214;s:8:"function";s:3:"run";s:5:"class";s:14:"CRM_Queue_Task";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;r:35;}}i:3;a:6:{s:4:"file";s:101:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Queue/Runner.php";s:4:"line";i:168;s:8:"function";s:7:"runNext";s:5:"class";s:16:"CRM_Queue_Runner";s:4:"type";s:2:"->";s:4:"args";a:0:{}}i:4;a:6:{s:4:"file";s:114:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/uploads/civicrm/ext/civicrm_osdi/api/v3/OSDIQueue/Run.php";s:4:"line";i:49;s:8:"function";s:6:"runAll";s:5:"class";s:16:"CRM_Queue_Runner";s:4:"type";s:2:"->";s:4:"args";a:0:{}}i:5;a:4:{s:4:"file";s:124:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php";s:4:"line";i:89;s:8:"function";s:30:"civicrm_api3_o_s_d_i_queue_Run";s:4:"args";a:1:{i:0;a:1:{s:7:"version";i:3;}}}i:6;a:6:{s:4:"file";s:100:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php";s:4:"line";i:169;s:8:"function";s:6:"invoke";s:5:"class";s:39:"Civi\API\Provider\MagicFunctionProvider";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;a:9:{s:2:"id";i:1;s:7:"version";i:3;s:6:"params";a:1:{s:7:"version";i:3;}s:5:"extra";N;s:6:"fields";a:0:{}s:6:"entity";s:9:"OSDIQueue";s:6:"action";s:3:"run";s:8:"function";s:30:"civicrm_api3_o_s_d_i_queue_run";s:10:"is_generic";b:0;}}}i:7;a:6:{s:4:"file";s:100:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php";s:4:"line";i:100;s:8:"function";s:10:"runRequest";s:5:"class";s:15:"Civi\API\Kernel";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;a:9:{s:2:"id";i:1;s:7:"version";i:3;s:6:"params";a:1:{s:7:"version";i:3;}s:5:"extra";N;s:6:"fields";a:0:{}s:6:"entity";s:9:"OSDIQueue";s:6:"action";s:3:"run";s:8:"function";s:30:"civicrm_api3_o_s_d_i_queue_run";s:10:"is_generic";b:0;}}}i:8;a:6:{s:4:"file";s:92:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/api/api.php";s:4:"line";i:23;s:8:"function";s:7:"runSafe";s:5:"class";s:15:"Civi\API\Kernel";s:4:"type";s:2:"->";s:4:"args";a:4:{i:0;s:9:"OSDIQueue";i:1;s:3:"Run";i:2;a:1:{s:7:"version";i:3;}i:3;N;}}i:9;a:4:{s:4:"file";s:104:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php";s:4:"line";i:145;s:8:"function";s:11:"civicrm_api";s:4:"args";a:3:{i:0;s:9:"OSDIQueue";i:1;s:3:"Run";i:2;a:1:{s:7:"version";i:3;}}}i:10;a:6:{s:4:"file";s:104:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/JobManager.php";s:4:"line";i:113;s:8:"function";s:10:"executeJob";s:5:"class";s:19:"CRM_Core_JobManager";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;O:21:"CRM_Core_ScheduledJob":11:{s:7:"version";i:3;s:4:"name";s:22:"Call OSDIQueue.Run API";s:9:"apiParams";a:1:{s:7:"version";i:3;}s:7:"remarks";a:0:{}s:2:"id";s:2:"25";s:9:"domain_id";s:1:"1";s:13:"run_frequency";s:6:"Always";s:11:"description";s:22:"Call OSDIQueue.Run API";s:10:"api_entity";s:9:"OSDIQueue";s:10:"api_action";s:3:"Run";s:9:"is_active";s:1:"1";}}}i:11;a:6:{s:4:"file";s:103:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php";s:4:"line";i:153;s:8:"function";s:14:"executeJobById";s:5:"class";s:19:"CRM_Core_JobManager";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;s:2:"25";}}i:12;a:6:{s:4:"file";s:104:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php";s:4:"line";i:160;s:8:"function";s:6:"browse";s:5:"class";s:18:"CRM_Admin_Page_Job";s:4:"type";s:2:"->";s:4:"args";a:2:{i:0;N;i:1;N;}}i:13;a:6:{s:4:"file";s:103:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Job.php";s:4:"line";i:136;s:8:"function";s:3:"run";s:5:"class";s:19:"CRM_Core_Page_Basic";s:4:"type";s:2:"->";s:4:"args";a:0:{}}i:14;a:6:{s:4:"file";s:100:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php";s:4:"line";i:309;s:8:"function";s:3:"run";s:5:"class";s:18:"CRM_Admin_Page_Job";s:4:"type";s:2:"->";s:4:"args";a:2:{i:0;a:3:{i:0;s:7:"civicrm";i:1;s:5:"admin";i:2;s:3:"job";}i:1;N;}}i:15;a:6:{s:4:"file";s:100:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php";s:4:"line";i:84;s:8:"function";s:7:"runItem";s:5:"class";s:15:"CRM_Core_Invoke";s:4:"type";s:2:"::";s:4:"args";a:1:{i:0;a:16:{s:2:"id";s:3:"173";s:9:"domain_id";s:1:"1";s:4:"path";s:17:"civicrm/admin/job";s:5:"title";s:14:"Scheduled Jobs";s:15:"access_callback";a:2:{i:0;s:19:"CRM_Core_Permission";i:1;s:9:"checkMenu";}s:16:"access_arguments";a:2:{i:0;a:2:{i:0;s:14:"access CiviCRM";i:1;s:18:"administer CiviCRM";}i:1;s:3:"and";}s:13:"page_callback";s:18:"CRM_Admin_Page_Job";s:10:"breadcrumb";a:2:{i:0;a:2:{s:5:"title";s:7:"CiviCRM";s:3:"url";s:58:"/wp-admin/admin.php?page=CiviCRM&q=civicrm&reset=1";}i:1;a:2:{s:5:"title";s:18:"Administer CiviCRM";s:3:"url";s:64:"/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin&reset=1";}}s:6:"is_ssl";s:1:"1";s:6:"weight";s:4:"1370";s:4:"type";s:1:"1";s:9:"page_type";s:1:"0";s:4:"desc";s:35:"Managing periodially running tasks.";s:10:"adminGroup";s:15:"System Settings";s:4:"icon";s:18:"admin/small/13.png";s:14:"page_arguments";b:0;}}}i:16;a:6:{s:4:"file";s:100:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php";s:4:"line";i:52;s:8:"function";s:7:"_invoke";s:5:"class";s:15:"CRM_Core_Invoke";s:4:"type";s:2:"::";s:4:"args";a:1:{i:0;a:3:{i:0;s:7:"civicrm";i:1;s:5:"admin";i:2;s:3:"job";}}}i:17;a:6:{s:4:"file";s:84:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-content/plugins/civicrm/civicrm.php";s:4:"line";i:1246;s:8:"function";s:6:"invoke";s:5:"class";s:15:"CRM_Core_Invoke";s:4:"type";s:2:"::";s:4:"args";a:1:{i:0;a:3:{i:0;s:7:"civicrm";i:1;s:5:"admin";i:2;s:3:"job";}}}i:18;a:6:{s:4:"file";s:75:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-includes/class-wp-hook.php";s:4:"line";i:286;s:8:"function";s:6:"invoke";s:5:"class";s:21:"CiviCRM_For_WordPress";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;s:0:"";}}i:19;a:6:{s:4:"file";s:75:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-includes/class-wp-hook.php";s:4:"line";i:310;s:8:"function";s:13:"apply_filters";s:5:"class";s:7:"WP_Hook";s:4:"type";s:2:"->";s:4:"args";a:2:{i:0;s:0:"";i:1;a:1:{i:0;s:0:"";}}}i:20;a:6:{s:4:"file";s:68:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-includes/plugin.php";s:4:"line";i:453;s:8:"function";s:9:"do_action";s:5:"class";s:7:"WP_Hook";s:4:"type";s:2:"->";s:4:"args";a:1:{i:0;a:1:{i:0;s:0:"";}}}i:21;a:4:{s:4:"file";s:64:"/var/www/testsite-wp.megaphonetech.com/htdocs/wp-admin/admin.php";s:4:"line";i:224;s:8:"function";s:9:"do_action";s:4:"args";a:1:{i:0;s:21:"toplevel_page_CiviCRM";}}}s:19:"Exceptionprevious";N;}s:15:"last_task_title";s:0:"";s:13:"numberOfItems";s:1:"3";s:11:"is_continue";i:0;}})