Jump to content
X2Community Forums

Zapier 422 Post Error


Recommended Posts

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!

 

Link to post
Share on other sites

Hi Success,

 

From our wiki page on our API (http://wiki.x2crm.com/wiki/REST_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.

  • Like 1
Link to post
Share on other sites

Hi Success,

 

From our wiki page on our API (http://wiki.x2crm.com/wiki/REST_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.

Link to post
Share on other sites

@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.

Link to post
Share on other sites
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...