cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
luuminhvuong93
Level: Powered On

Error: Create File Conflict? Using flow to save photo to sharepoint

Hi everyone ! encoutering some issues with Flow, need your urgent help.

My flow is copied from this : https://techmikael.com/2017/05/saving-collection-of-images-from.html

Which allow users to take photos-> send the collection to my sharepoint library

This issue does not happen to every user. But for some, about 40% of the time, my flow failed and timedout.

I checked and the step failed is at the "Create file" step, which says "Conflict"

What could be the reason and any solutions? So many thankss

{
  "status": 409,
  "message": "競合の保存\n\n変更は、同時に編集しているユーザーによる変更と競合しています。変更を反映するには、お使いの Web ブラウザーにある [戻る] ボタンをクリックし、ページを最新の状態に更新して、変更を送信し直します。\r\nclientRequestId: f55788a8-ed14-4f58-9f89-394afb037434\r\nserviceRequestId: c1d9969e-9006-6000-8560-142ed1046754;c1d9969e-600f-6000-8560-1c3dfd77ddc6",
  "source": "https://suntorygroup.sharepoint.com/sites/GTM-WIR/_api/web/GetFolderByServerRelativePath(decodedUrl=@p)/files/AddUsingPath(decodedUrl=@f,%20overwrite='true')?@p='%2fsites%2fGTM-WIR%2fPhotoCensus%2fThanhHoa'&@f='WIRTH030741001010_1.jpg'",
  "errors": [
    "-2130246326",
    "Microsoft.SharePoint.SPException"
  ]
}

 

Error 1.JPG

2 REPLIES 2
Community Support Team
Community Support Team

Re: Error: Create File Conflict? Using flow to save photo to sharepoint

Hi @luuminhvuong93,

 

From the error message, it seems that users are trying to save files from PowerApps to SharePoint library simultaneously.

Have you tried refreshing the Web browser to show the changes?

Are you using a root site or sub site in the flow?

Are there any special characters in the library name?

Could you check the file name on your side? If a newly created file name already exists in the folder, a conflict error will occur.

I have made some test based on the blog you provided. However, the issue you mentioned cannot be reproduced on my side. Please share more details to help reproduce.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
luuminhvuong93
Level: Powered On

Re: Error: Create File Conflict? Using flow to save photo to sharepoint

Doesnt it replacing the old photo/

Below is the error @v-yamao-msft

 


Conflict.
INPUTS
Site Address
https://suntorygroup.sharepoint.com/sites/GTM-WIR
Folder Path
/PhotoCensus/ThanhHoa_1810
File Name
WIRTH091018001810_2.jpg
File Content
{
"$content-type": "image/jpeg",
"$content": " ("This part is some binary code"
}
OUTPUTS
Status code
409
Headers
Pragma
no-cache
x-ms-request-id
1277999e-60dd-7000-1ee1-64edb41deaf5;1277999e-20e9-7000-1ee1-696993cdddf8
Strict-Transport-Security
max-age=31536000; includeSubDomains
X-Content-Type-Options
nosniff
X-Frame-Options
DENY
Timing-Allow-Origin
*
x-ms-apihub-cached-response
true
Cache-Control
no-store, no-cache
Date
Thu, 18 Oct 2018 03:42:20 GMT
Set-Cookie
ARRAffinity=034a92f9ba2fc4ecf4919720c4a64dda736d4b72182be442bf2b2ab6744078db;Path=/;HttpOnly;Domain=sharepointonline-je.azconn-je.p.azurewebsites.net
X-AspNet-Version
4.0.30319
Content-Length
830
Content-Type
application/json
Expires
-1
Body
{
"status": 409,
"message": "競合の保存\n\n変更は、同時に編集しているユーザーによる変更と競合しています。変更を反映するには、お使いの Web ブラウザーにある [戻る] ボタンをクリックし、ページを最新の状態に更新して、変更を送信し直します。\r\nclientRequestId: ff923367-2a9b-44ee-856f-303f690c4954\r\nserviceRequestId: 1277999e-60dd-7000-1ee1-64edb41deaf5;1277999e-20e9-7000-1ee1-696993cdddf8",
"source": "https://suntorygroup.sharepoint.com/sites/GTM-WIR/_api/web/GetFolderByServerRelativePath(decodedUrl=...'",
"errors": [
"-2130246326",
"Microsoft.SharePoint.SPException"
]
}

Helpful resources

Announcements
firstImage

Microsoft Flow Online Conference

Join us for a FULL day of FREE Microsoft Flow Sessions from some of the best minds in the industry!

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Users Online
Currently online: 135 members 3,991 guests
Recent signins:
Please welcome our newest community members: