Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!
It's the most wonderful time of the year - Santalytics 2020 is here! This year, Santa's workshop needs the help of the Alteryx Community to help get back on track, so head over to the Group Hub for all the info to get started!

Formatting Data

Highlighted
5 - Atom

Hi all,

 

How can I increase a 256 Json string length after using Json Builder?

The error is:

Error: MongoDB Output (7): Mongo Error (Insert) : msg:"invalid document for insert: corrupt BSON: generic server error" code: invalid document for insert: corrupt BSON: generic server error

Please let me know.

 

JsonErr2.jpg

 

 

 

Thank you, Liviu.

 

Highlighted
Alteryx
Alteryx

@Liviu 

 

Are you able to post the workflow here for me to take a look?

 

If you are using  JSON Build tool after a JSON Parse, then the Build should take the schema from the Parse.  You should be able to set the size of the field before the JSON Build.