List Gifts 400 - Bad Request

Hey Yall! I had gotten Daily Gift Report emails set up in Power Automate to go to our Officers every morning, but one of the flows I have keeps spitting out a 400 error with the following internal error (cut down to the important stuff):

Bad Request - Request Too Long

HTTP Error 400. The size of the request headers is too long.

For context on this flow, this officer (due to the way his position works) currently has 790 people assigned to him. Looking at the below screenshot, this is how I have each thing set up:

  • List Fundraiser Assignments
    • Fundraiser ID = his ID
    • Limit = 1000
  • Append to string variable
    • Name = CSLGifts
    • Value = (no quotes in the actual value) "[Constituent ID], "
  • Append to string variable 3 - used to remove the final ", " from the list created above
    • Name = Take CSLgifts
    • Value = [take(variables('CSL Gifts'),sub(length(variables('CSL Gifts')),2))]
  • List Gifts
    • Added on or after = Past time (24 hours)
    • Constituent ID = [Take CSLgifts]
    • Limit =5000
Broken.png

I'm not sure why its saying its too long of a request when I have the limits set to 1000 & 5000. Any and all help is appreciated, I haven't done much with the Limit option before so there's a good chance I'm looking at this wrong!!

EDIT: I forgot to add what Power Automate has as the error at the top of the workspace:

Action 'List_gifts' failed: The response is not in a JSON format.

Best Answer

  • Catie Wools
    Answer ✓

    @Carol Grant I just gave it another shot and after doing some more searching, it looks like it has something to do with stored cookies for Power Automate. I tried in another browser and it worked straight away!

Answers

  • Same thing happened to me this morning. Jan 22 AM. I'm trying to run it again but it seems to be taking a long time- still hasn't finished. This time it did get List Gifts but it's hanging now on Get a Gift.

    -Carol

  • @Carol Grant Same, I just retried it and it gave me the same error. I'm running my previous version of the flow right now to see if there's an issue there, but its taking a long time as well.

  • @Catie Wools - mine just finished so hopefully yours will work now also. It did take a long time though.

  • It's happening again today, my daily gift list is taking forever to run this morning and I've cancelled it twice after an hour.

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Kudos 5 Facilitator 4 bbcon 2025 Attendee Badge

    last week, BB API was mostly running with errors, which was resolved after 4 days…

    this is the post that was reporting the errors and eventual resolution

    All FE API endpoint FAILING — Blackbaud Community

  • @Alex Wong Yeah, I posted this without thinking to check the status page (and I didn't see your post that you linked) first

Categories