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 / Intermittent “400 Requ...
Power Automate
Unanswered

Intermittent “400 Request Header Or Cookie Too Large” error when generating ArcGIS Online token

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I’m experiencing an intermittent issue in a cloud flow that uses a generic HTTP action to generate a token from ArcGIS Online.

What the flow does

  • Uses an HTTP POST request to the ArcGIS Online token endpoint
  • Sends username, password, referer, and f=json

  • Retrieves a token

  • Uses that token in subsequent requests

The Problem

Almost every day the flow fails with this error:
{400 Bad Request
Request Header Or Cookie Too Large}

However, when I:

Open the flow
  1. Click Test

  2. Run it manually

  3. It works perfectly again.

No changes are made between failure and success.

Additional Details

  • Method: POST

  • Cookies field in the HTTP action is empty

  • I already replaced the HTTP action entirely

  • The issue still returns randomly

  • The problem disappears immediately after manual testing

My Questions

  1. Why would the request header or cookie become “too large” when I am not explicitly sending cookies?

  2. Could Power Automate be accumulating hidden cookies or headers?

  3. Is there a known limitation with scheduled runs vs manual runs?

  4. Has anyone seen similar behavior with token-based authentication endpoints?

The strange part is that simply opening and testing the flow fixes it temporarily.

Any insight would be greatly appreciated.

 

Thanks!

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard