Hi!
I’m getting a “badRequest” response from the documents API indicating
"details": {
"error": "Count: 2, message: error.expected.jsstring",
"import_error_code": "invalid_file"
}
My payload is a single page document with 61 shapes and 82 lines. I have looked at string fields (in my case: title, shapes.type, shapes.style.type, shapes.text, lines.stroke.style, linetype, lines.text.text).
I was expecting to perhaps spot an unescaped character, or something, but can’t see anything wrong.
Any idea what could be wrong? Am I hitting some sort of size limit?
The JSON is dynamically created as part of a software I’m building, and works in every other scenario except for this specific one.
Thank you for your help!
Paul