Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

SharePoint images will no longer be displayed.

I can't see the image anymore.

It was retrieved from SharePoint and is usually displayed.

Opening the image in a new tab will show an error.

 

 

Bad Request - Header Field Too Long


HTTP Error 400. A request header field is too long.

 

 

It's happening in Chrome, Edge, and Firefox browsers.

I'm in a lot of trouble.

Please help me.

 

  • I finally found a solution of this.  Try the following.  It should work on other browsers.  The setback is that you have to re-log in, but not a big deal. 

     

    Do this one-time set up:

    1. Open Chrome.
    2. Type chrome://settings/
    3. Under Privacy and security select Cookies and other site data.
    4. At bottom, "Always clear cookies when windows are closed", select Add.
    5. Enter "{your company domain}.sharepoint.com".
    6. Select Add.
    7. Do the same to add "app.powerbi.com".

     

     

10 Replies

  • I finally found a solution of this.  Try the following.  It should work on other browsers.  The setback is that you have to re-log in, but not a big deal. 

     

    Do this one-time set up:

    1. Open Chrome.
    2. Type chrome://settings/
    3. Under Privacy and security select Cookies and other site data.
    4. At bottom, "Always clear cookies when windows are closed", select Add.
    5. Enter "{your company domain}.sharepoint.com".
    6. Select Add.
    7. Do the same to add "app.powerbi.com".

     

     

    • collinq's avatar
      collinq
      Icon for Super User rankSuper User

      Hey nickyang ,

       

      Thanks for sharing this solution - even after all of this time!

      • collinq's avatar
        collinq
        Icon for Super User rankSuper User

        Hey SonaliDhotre ,

         

        One of the key aspects is if you are using SharePoint Online or if you are using SharePoint inside your firewall.  And, this will determine if you have or need a gateway.  After that point, you would have to confirm that you (of the gateway userid) have the appropriate permissions.

  • Hi,

    I am using SharePoint Online. The data is refreshing without a gateway properly. Do you think the issue can be one of the following?
    1. Power bi not being able to pull the high-resolution images (more than 2MB).
    2. Power bi not being able to handle bulk requests to SharePoint online.
    3. Internet speed.
    4. All of the above.
    Please let me know your thoughts. Also, let me know if there is any other way of debugging this issue.

    Looking forward to your response.

  • Anonymous's avatar
    Anonymous
    Not applicable

    This happens with my images periodically. Sometimes clearing the cache (Cookies, images, files & browsing data) clears it up. Refreshing the webpage after opening the report also resolves the issue sometimes. Other times, nothing helps and it seems to resolve on its own in a day or two. It is frustrating, though.