Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Alteryx SharePoint Input Error

AnilKumarN
5 - Atom

Hello All,

 

I am facing below SharePoint input error : Not well formatted JSON Stream, but I could see it runs successfully sometimes, but most of the times it fails, I thought it could be internet issue, but I have good internet speed too.

can someone help me to fix it.

 

Capture.JPG

 

4 REPLIES 4
IraWatt
17 - Castor
17 - Castor

@AnilKumarN Very strange error, makes it sound like SharePoint is not sending valid data. Are you importing a list? 

Matt_D
10 - Fireball

If you Google this error it points to it being an issue with the request header or body, not the returned data so could be a bug in the SharePoint Tool? I would raise this with the Alteryx support team.

AnilKumarN
5 - Atom

Hi @Irawatt, yes I'm trying to import list.

Matt_D
10 - Fireball

@AnilKumarN just a thought, are there any special characters in the list data that would need escaping in JSON? I would have thought the tool would have done this but I'm not sure.

 

A JSON string must be double-quoted, according to the specs, so you don't need to escape '.

If you have to use special character in your JSON string, you can escape it using \ character.

See this list of special character used in JSON :

\b  Backspace (ascii code 08)
\f  Form feed (ascii code 0C)
\n  New line
\r  Carriage return
\t  Tab
\"  Double quote
\\  Backslash character
Labels
Top Solution Authors