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

Anonymous
2024-01-25T17:23:24+00:00

Good afternoon,

Today I was helping a user, Alice, change a picture in the header of an excel workbook. When Alice clicks the "picture" button in the ribbon under the "Header and footer" tab, instead of showing the dialog to pick a file to insert, the window that pops up says "HTTP Error 400. The size of the request headers is too long" with no other information.

Notably, if Bob, another user with an apparently identical account and user profile, tries to follow the same steps on the same computer as Alice, Bob is able to do so without receiving the error message.

We have tried the following:

Reinstall office365

Sign out of user account and back in

Split the document into smaller documents in case it was a file size issue

Running the repair tool for office365

Thank you!

Edit:

Good morning! I am happy to say we found a solution! Unfortunately it was to reinstall Windows.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2024-02-01T11:11:15+00:00

Good afternoon,

Today I was helping a user, Alice, change a picture in the header of an excel workbook. When Alice clicks the "picture" button in the ribbon under the "Header and footer" tab, instead of showing the dialog to pick a file to insert, the window that pops up says "HTTP Error 400. The size of the request headers is too long" with no other information.

Notably, if Bob, another user with an apparently identical account and user profile, tries to follow the same steps on the same computer as Alice, Bob is able to do so without receiving the error message.

We have tried the following:

Reinstall office365

Sign out of user account and back in

Split the document into smaller documents in case it was a file size issue

Running the repair tool for office365

Thank you!

the following solution is also possible:

file - account - settings management - turn off optional online functions and done

Was this answer helpful?

100+ people found this answer helpful.
0 comments No comments

58 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-04-26T19:55:30+00:00

    I had the same issue. It's a simple fix that I just stumbled across.

    File> Options> Advanced> General> Web Options> Files>

    Just uncheck "Use long file names whenever possible"

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-04-16T20:00:59+00:00

    Solution I found that works is to go to Account, Manage Settings, Turn "off" optional connected experiences.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-03-21T07:36:04+00:00

    works great for me too!!! 27-02-2024

    go to excel> file - account - settings management - turn off optional online functions and done

    Thank you, it worked for me.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-03-17T22:53:51+00:00

    Unfortunately, this solution did not work for me.

    Background: another person in my office had the issue this thread is about. I could add the required picture in a different Excel document I had open, no problem. I tried opening his document on my computer, had the issue occur on mine, too. Then *I* had the issue on *any* Excel document on my computer, including a blank document!

    These are desktop Excel documents, not Excel Online, so switching browsers is irrelevant.

    A restart to the computer was not effective.

    A restart after the online button was unticked (the fix described here) was not effective, issue recurred.

    The pictures that need to be affixed are sitting in our company's Sharepoint, and not available offline. However, the error occurs (now that it's migrated to my computer, thanks guy) before you even get to choose the source, so even using a photo on the C: drive of the computer is not an option anymore.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments