Saving contacts to xConnect in Sitecore 9.01

I am using Sitecore 9 forms and trying to save the data to contacts in xConnect. I am following this post: 'https://doc.sitecore.net/sitecore_experience_platform/digital_marketing/sitecore_forms/setting_up_and_configuring/walkthrough_creating_a_custom_submit_action_that_updates_contact_details#_Create_submit_action'

Upon clicking the submit button of the form, it fails to save the contacts to the xConnect. Following is the error displayed in the logs: 

Any suggestions and insights would be greatly appreciated.

2 Replies