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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,892)