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

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (11,916)