Showing results for 
Search instead for 
Did you mean: 
Kudo Kingpin
Kudo Kingpin

502 Bad Gateway - Invalid text value - create Item when transferring SP directory to another list

when reading a sharepoint libarary directory and transfering it to another SP list (create item) i get errors below



  "error": {
    "innerError": {
      "message""Invalid text value.\n\nA text field contains invalid data. Please check the value and try again.\r\nclientRequestId: cade216c-a616-4739-81e5-e4376c08ac48\r\nserviceRequestId: ab15549e-a0f6-5000-2e0e-e5334ae616ae",
      "errors": [


for files of the following path and name structure


File Name: xxx template FYnnnn_ xxxx xxxx Oct FF v 1.4 [xxx - shared] 01 12 2017.xlsb

File Path: Documents/06_xxxxxxxxxx/xxxxxxx xxxxxxxxx xx xxx xxxx/04. xxxxxx xxxxxxxxx/nnnn xxxxxx xx/xxx nnnn/[archive]/


 this is a surprise as the data are directly transfered from the sharepoint library list. Any idea why this is occuring and how to avoid? 

Community Support
Community Support

Hi @ErichH,


Could you please share a screenshot of your flow's configuration?

Do you want to transfer a SharePoint library directory to another SharePoint list?

Further, could you please show a bit more about the "Create item" action within your flow?


The error message told that there is a invalid value within your Text field. Please check if you have filled proper value within these fields of the "Create item" action of your flow. Please also check if the data type of dynamic content matches the data type of corresponding field within "Create item" action.


I could not reproduce your issue on my side currently, if you could provide more details about your scenario, we would provide a proper workaround for you.


Best regards,



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

Helpful resources

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.

Users online (1,920)