• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

JSON parse error

fisto

Member
Your Task History ID
IjU3NjUwNTZlMDYzNTA0MzI1MjZlNTUzMjUxMzU1MTY0NTQzNzBmMzgi_pc
I am having a JSON parse error when I try to create an opportunity in Moxie.

The error is at Step 28.

Please help.
 

Preeti Paryani

Well-known member
Staff member
Hello @fisto,

Upon checking we have noticed that the description received from step 26 contains double quotes which leads the JSON to malfunction. Please add a text formatter action to replace the double quotes with single quotes from description and map the response to step 28 then and let us know if it works fine for you.

1742293926382.png


1742293941551.png
 

ArshilAhmad

Moderator
Staff member
Task History ID - IjU3NjUwNTZlMDYzNTA0MzI1MjZiNTUzMDUxMzc1MTYyNTQzNDBmMzci_pc

Try passing the Estimated Close Date in the 'YYYY-MM-DD' format and see if that resolves your issue.
 

fisto

Member
I did that, and now I got a new JSON error:

JSON parse error: Cannot deserialize value of type `app.struxture.api.domain.discovery.Answer` from Array value (token `JsonToken.START_ARRAY`); nested exception is com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize value of type `app.struxture.api.domain.discovery.Answer` from Array value (token `JsonToken.START_ARRAY`) at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 1, column: 746] (through reference chain: app.struxture.api.domain.integrations.api.OpportunityCreate["leadInfo"]->app.struxture.api.domain.discovery.FormData["answers"]->java.util.ArrayList[0])
 

fisto

Member
Task History ID - IjU3NjUwNTZlMDYzNTA0M2M1MjZjNTUzNDUxMzM1MTY3NTQzNjBmMzki_pc

Based on your Task History, it appears that you are not passing any data to the 'Answer' field, which seems to be causing the issue this time.


Thank you for sharing the video.

I made the fixes you suggested, and I made sure data is passing to all Answer fields.

However I continue to get the same error. Can you please help me with this? Thank you.
 

fisto

Member
I got the JSON Parse Error again.

Task History ID: IjU3NjUwNTZlMDYzMjA0Mzc1MjZjNTUzMDUxMzA1MTYzNTQzODBmMzki_pc

Can you please help with this one?
 

ArshilAhmad

Moderator
Staff member
The description you are trying to pass to the Moxie action step contains double quotes, which appears to be causing the issue.
1742582418249.png


We have added a Text Formatter to your workflow to automatically replace double quotes with single quotes. Please check if this resolves the issue.
1742582591886.png
 
Top