cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

Debugging: "status": 400, ...

Hello, 

 

I have a Flow that intermittently fails (4-5 instances over the past 3 months) at "Update File Properties" with a "Bad Request" heading.

 

  • Here is a snapshot of the steps:

2018-09-13_11-04-37.png

Here is the Status 400 error message at the bottom of Update File Properties: 

 

{
  "status": 400,
  "message": "Invalid text value.\n\nA text field contains invalid data. Please check the value and try again.\r\nclientRequestId: 24d0ed01-1950-4c63-8d47-f6e2ae5026c6\r\nserviceRequestId: bc268e9e-c008-7000-51f9-7f06ae770f58"
}

Unfortunately, I don't know which Text Field has contains the invalid data! 

  • The fields are not clearly listed in the error message
  • Nor is there an indicator on any of the fields that it contains invalid data

 

How do I debug the issue here? 

 

Thank you

6 REPLIES 6
v-yamao-msft
Community Support
Community Support

Hi @ericonline,

 

Could you share the detailed screenshot of your flow configuration? What properties are you going to update?

 

I made a simple test with the similar configuration. However, it ran succeed.

1.PNG

 

Could you share more details to help reproduce it on my side?

 

Best regards,

Mabel Mao

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.

Hello @v-yamao-msft

 

Below is a detailed screenshot of the Flow. The properties I'm updating are items in a Word template. The Flow runs all the time without issue. It only fails intermittently. 

 

Ideally, I'd like to know HOW to debug this error. 

 

Thank you

 

flowTroubleshooting.png

Hi @ericonline,

 

What are the column types you are going to update?

 

Do you have a Multiple lines of text column? If the character length exceeds the limit, the flow will return the error message.

 

 

Best regards,

Mabel Mao

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.

Thank you for the response @v-yamao-msft. Is there anyway to determine WHICH field has the issue? As you can see there are 30-40 fields. Would love to have the error point me diretly to the field in question. 

Anonymous
Not applicable

Hello,

 

 

I have a similar problem, could you help us to know which column have the error and the limit of caracter for a individual column? . @ v-yamao-msft.

 

 

Thz

I agree - I have a document with 65 fields being updated. Just being told one of them has a problem without being able to debug which one it is is frustrating...  Suspect it may be do to with column length  as others have suggested but I am going to have to go through all 65 to check!!  woudl be useful if the error message could identify which field has the problem 🙂

Helpful resources

Announcements

Hear what's next for the Power Up Program

Hear from Principal Program Manager, Dimpi Gandhi, to discover the latest enhancements to the Microsoft #PowerUpProgram, including a new accelerated video-based curriculum crafted with the expertise of Microsoft MVPs, Rory Neary and Charlie Phipps-Bennett. If you’d like to hear what’s coming next, click the link below to sign up today! https://aka.ms/PowerUp  

Check out the Copilot Studio Cookbook today!

We are excited to announce our new Copilot Cookbook Gallery in the Copilot Studio Community. We can't wait for you to share your expertise and your experience!    Join us for an amazing opportunity where you'll be one of the first to contribute to the Copilot Cookbook—your ultimate guide to mastering Microsoft Copilot. Whether you're seeking inspiration or grappling with a challenge while crafting apps, you probably already know that Copilot Cookbook is your reliable assistant, offering a wealth of tips and tricks at your fingertips--and we want you to add your expertise. What can you "cook" up?   Click this link to get started: https://aka.ms/CS_Copilot_Cookbook_Gallery   Don't miss out on this exclusive opportunity to be one of the first in the Community to share your app creation journey with Copilot. We'll be announcing a Cookbook Challenge very soon and want to make sure you one of the first "cooks" in the kitchen.   Don't miss your moment--start submitting in the Copilot Cookbook Gallery today!     Thank you,  Engagement Team

Tuesday Tip | How to Report Spam in Our Community

It's time for another TUESDAY TIPS, your weekly connection with the most insightful tips and tricks that empower both newcomers and veterans in the Power Platform Community! Every Tuesday, we bring you a curated selection of the finest advice, distilled from the resources and tools in the Community. Whether you’re a seasoned member or just getting started, Tuesday Tips are the perfect compass guiding you across the dynamic landscape of the Power Platform Community.   As our community family expands each week, we revisit our essential tools, tips, and tricks to ensure you’re well-versed in the community’s pulse. Keep an eye on the News & Announcements for your weekly Tuesday Tips—you never know what you may learn!   Today's Tip: How to Report Spam in Our Community We strive to maintain a professional and helpful community, and part of that effort involves keeping our platform free of spam. If you encounter a post that you believe is spam, please follow these steps to report it: Locate the Post: Find the post in question within the community.Kebab Menu: Click on the "Kebab" menu | 3 Dots, on the top right of the post.Report Inappropriate Content: Select "Report Inappropriate Content" from the menu.Submit Report: Fill out any necessary details on the form and submit your report.   Our community team will review the report and take appropriate action to ensure our community remains a valuable resource for everyone.   Thank you for helping us keep the community clean and useful!

Users online (3,440)