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.

View solution in original post

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.

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Users online (2,495)