Jump to content


Photo

Zapier 422 Post Error

zapier

  • Please log in to reply
5 replies to this topic

#1 Success

Success

    Advanced Member

  • Members
  • PipPipPip
  • 79 posts

Posted 10 March 2020 - 10:25 AM

We are trying to get contacts in to X2 and integrating with Zapier but getting the following error.
 

We had trouble sending your test through.
Got 422 calling POST http://papyrus.leadgencms.com/x2crm/api2/Contacts, expected 2xx.
See more details or get help

We are running an older version of X2 because Im scared to upgrade.  Currently on Version 6.0.4 but I'm not convince that is the issue.

Any of you guys have any ideas?

Thanks!

 



#2 X2Clifton

X2Clifton

    Advanced Member

  • Moderators
  • 49 posts

Posted 11 March 2020 - 08:52 AM

Hi Success,

 

From our wiki page on our API (http://wiki.x2crm.co...T_API_Reference), this the explanation behind that error code:

Unprocessable entity. This always indicates a data validation error when attempting to set fields of and save an active record model. The client is expected to resolve these issues and resubmit the data with all of the fields formatted in such a way that it is acceptable.

 

It seems that one or more of the fields you have for the record you are trying to create has data that is not formatted as expected. I would take a look at any custom fields in the admin panel under X2Studio Customization Tools > Manage Fields and make sure that all of the fields for your record have data that conform to the format you specified, assuming you have custom fields for the active record model you are trying to create. If not custom, if you have MySQL access for the app, check the table for the datatypes expected for the fields of that model. Let me know if you have further issues resolving this error code.



#3 Success

Success

    Advanced Member

  • Members
  • PipPipPip
  • 79 posts

Posted 13 March 2020 - 12:44 AM

Hi Success,

 

From our wiki page on our API (http://wiki.x2crm.co...T_API_Reference), this the explanation behind that error code:

Unprocessable entity. This always indicates a data validation error when attempting to set fields of and save an active record model. The client is expected to resolve these issues and resubmit the data with all of the fields formatted in such a way that it is acceptable.

 

It seems that one or more of the fields you have for the record you are trying to create has data that is not formatted as expected. I would take a look at any custom fields in the admin panel under X2Studio Customization Tools > Manage Fields and make sure that all of the fields for your record have data that conform to the format you specified, assuming you have custom fields for the active record model you are trying to create. If not custom, if you have MySQL access for the app, check the table for the datatypes expected for the fields of that model. Let me know if you have further issues resolving this error code.

 

 

Ok, thanks for the reply.  I'll take a look.

I had already started the process of removing fields to narrow down the problem but this makes sense.

Thanks for your time and I'll report back if further issues.



#4 X2Clifton

X2Clifton

    Advanced Member

  • Moderators
  • 49 posts

Posted 13 March 2020 - 08:38 AM

Sounds great!



#5 Success

Success

    Advanced Member

  • Members
  • PipPipPip
  • 79 posts

Posted 16 March 2020 - 01:09 AM

@X2Clifton,

I'm making progress.  It seems some of the test data from Zapier was not good and I'm getting past the original issue.

is the Workflow Trigger supposed to work with Zapier?

I'm trying to get a workflow to trigger when a new contact is added from Zapier and it does not appear to work.



#6 jack

jack

    Admin

  • Administrators
  • 61 posts

Posted 06 April 2020 - 11:09 AM

Hi Success,

Are you having trouble making the contact? Or is the contact being made and then the workflow does not trigger?

 

-Jack







Also tagged with one or more of these keywords: zapier

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users