web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel Scripts "BadRequ...
Power Automate
Answered

Excel Scripts "BadRequest"

(1) ShareShare
ReportReport
Posted on by 17

I have a script that has been in use this entire year and from what I can tell, the issue started yesterday. The script fails to run after about 30-45 seconds after attempting to start.

 

 "statusCode": 400,
 "headers": {
 "Access-Control-Expose-Headers": "Version",
 "mise-correlation-id": "3321036c-44b3-460f-a1cb-bd919f51a991",
 "x-ms-workflow-name": "064b7e4b-288d-426b-bfa0-ca36f7d19de2",
 "Version": "3.7",
 "x-ms-client-request-id": "e60a9953-aca7-42e2-b4d5-e1dec3211246",
 "x-ms-request-id": "e60a9953-aca7-42e2-b4d5-e1dec3211246",
 "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",
 "x-ms-apihub-obo": "false",
 "Cache-Control": "no-store, no-cache",
 "Date": "Sat, 19 Aug 2023 15:17:19 GMT",
 "Content-Length": "261",
 "Content-Type": "application/json"
 },

 

 

Is there a service down that would affect this? 

Categories:
  • trice602 Profile Picture
    16,699 Super User 2026 Season 2 on at

    Hi @seanmccormac ,

     

    Have you tried/checked the following:

     

    1)  Does the last successful run when resubmitted also fail or is it successful?  That's going to tell you a lot and help you drill down to the root cause.

     

    2)  Is it possible someone in Ops has added a column without you knowing or merged a few cells or something similar?  Check the version history and look for the one-offs. 

     

    These are the first two things I would try/check if this was in my wheelhouse.

     

     

  • seanmccormac Profile Picture
    17 on at

    1. ) I just tested it - the flow I resubmitted that had originally successfully completed did indeed fail.

    2.) I just verified --- the column structure is exactly the same, no merged cells, column headings are unchanged, etc. 

  • Verified answer
    seanmccormac Profile Picture
    17 on at

    Actually, it appears a separate sheet unrelated to the script was causing poor performance with the workbook and the automatic calculations were essentially creating lag within the sheet. I removed the sheet and it solved the problem.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard