Dev Space

Customize & extend the power of Alteryx. SDKs, APIs, custom tools, and more!

Formatting Data

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