Teamwork CRM Integration - Error Create Contact

Status: Closed · Asked by Bayu Nugroho on · 0 views

Bayu — Question ·

Hi All,

Currently, I'm testing integration between Pabbly connect & Teamwork CRM and got an error when trying the "Create Contact" service.
The details are as follows:

Error ID : 07e982a1-168f-40e1-b88e-e2991c992984
Error code : E400
error detail : Syntax error: offset=3, error=invalid character '\n' in string literal

All required fields were already filled-in properly but got the error

anyone can suggest solutions?

Pabblymember11 — Reply ·

Hey @Bayu

We are currently looking into your concern and shall notify you with an update soon.

Pabblymember11 — Reply ·

Hey @Bayu

Kindly reconnect the action step once and then try again. It shall work now accordingly.

Bayu — Reply ·

Hi, I just re-test the steps, and its response was successful.
The record is also created on the website.

but the problem is, the "phone number" data didn't store correctly on the website
it has the prefix +972 before the actual data I've input.
FYI, I input the "country" as Indonesia, but it seems to be incorrectly mapped as +972 (Israel)

For example :
I inputted 62812377645 as the "phone number" via API, it appears as +972 62812377645 on the website

Please advise. Thanks

Bayu — Reply ·

I also test the 'Create Deal' service and got the same error as the 'Create Contact' service previously.
All fields are already filled-in properly

Error ID : c7e51292-7d0b-41bd-ad26-fd1a6887a490
Error code : E400
error detail : Syntax error: offset=3, error=invalid character '\n' in string literal

Please advise

Pabblymember11 — Reply ·

Hey @Bayu

Kindly reconnect your Teamwork action step once and then try again.

Let us know if the issue still persists.

Bayu — Reply ·

Hey @Supreme I tested it, and Contact & Deals was successfully created on the site.
But I got another problem with custom value in Deal Creation services.
I send a value of 350000000, but it appears as 3500000, missing another "00".

While on the website :

Please advise. Thanks

Pabblymember11 — Reply ·
But I got another problem with custom value in Deal Creation services.

Seems like the API is adding two extra '0' in the amount coming in the API response, so as a solution we would recommend you use the "Number Formatter" action step.

Bayu — Reply ·

Hi @Supreme, my capture screen above was the response to my request on Create Deal request.
So when I type custom value as 35000 in Pabbly, it would appear as 350 in the Teamwork's deal.

Seems the custom value is auto-divided by 100 along the process, either by Pabbly or Teamwork machine.
It would be best if we send the persistent data to the front end.
What we type is what we get

Can you help? Thank you

Pabblymember11 — Reply ·
Can you help? Thank you

Kindly check if passing the exact value from the trigger response to the action step will divide the value by 100 then you skip the workaround.

Else, you should try the workaround accordingly.

Back to all forum threads · Log in to reply