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: Oldest
  1. 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
  2. Anonymous
    2024-03-18T19:51:12+00:00

    https://www.excelforum.com/excel-general/1420093-error-400-when-inserting-a-picture-in-a-comment.html

    I was having the issue and turning the "Connected Experiences" settings off from this post allowed me to add the pictures to the comments.

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-03-20T13:41:55+00:00

    THANK YOU! I have spent hours trying to work around this.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2024-03-20T18:00:51+00:00

    Esta solución me funciono.

    Gracias.

    Saludos.

    Was this answer helpful?

    0 comments No comments