cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

"Not well formatted JSON stream" when seding an http request to SharePoint

Hi,

 

I am trying to modify my flow and tell it to change the Created By column from myself (as the flow owner) to the user's email who  created the item in Sharepoint, in this case, it is Raised By email, following a blogpost by John Liu <http://johnliu.net/blog/2019/2/flowninja-hack-78-modifying-modified-by-and-modified-time-with-micros... However, I am currently getting the warning when Sending an POST HTTP request to SharePoint:

 
["message": "Not well formatted JSON stream.\r\nclientRequestId: dc3f2ed5-f573-40ef-974c-9acb9b80df9c\r\nserviceRequestId: d92e2c9f-f075-a000-4ecc-59b8e4eb5633",
"status": 400,
"errors": ["-1"],
"Microsoft.SharePoint.Client.InvalidClientQueryException"]
 
capture6.PNG
 
What is wrong?
 
 
2 ACCEPTED SOLUTIONS

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

You should add a comma between the two properties:

33.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

 

Hi @Anonymous ,

 

Please replace Created by with Author.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @Anonymous ,

 

You should add a comma between the two properties:

33.PNG

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi @v-bacao-msft ,

 

I have added a comma in between the properties. However, when I run the flow, it gives me the warning "Column 'Created_x0020_By' does not Exist". However, the column is there in my SP list. If I target another column, other than the Created by column, the flow works successfully, which is strange .

 

Do you know why this is happening? Can Flow not be able to change the Created By column value?

 

Regards,

I

 

Hi @Anonymous ,

 

Please replace Created by with Author.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (3,699)