Share via

Internal Server Error on FIleHandler

Anonymous
2016-10-14T12:44:36+00:00

When opening any document library we experience an 500 Internal Server error on a call to GetByType('FileHandler'). We assumed this was due to our development of a custom type handler.

However, this problem is reproducible on all SharePoint online instances  we have access to, not just our development instance. We have asked on external person to verify this as well and he was able to reproduce as well.

The _api/apps/GetByType('FileHandler') call results in the following error message:

{"odata.error":{"code":"-1, Microsoft.Azure.ActiveDirectory.GraphClient.AuthorizationException","message":{"lang":"en-US","value":"Insufficient privileges to complete the operation."}}}

Can you please investigate?

Please let us know if we can provide you with additional information to diagnose this issue.

Screenshot: ![](https://learn-attachment.microsoft.com/api/attachments/23ca4c43-b498-41d4-bf40-b6334a597ede?platform=QnA)

[Personal information is masked by Jiaxing Bian MSFT]

Microsoft 365 and Office | SharePoint | 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
2016-10-26T03:10:42+00:00

Hi All,

We have received updates from our escalation team that the issue has been resolved and the ticket has been closed. Therefore, we’d like to share a summary here.

============

Description:

When accessing SharePoint document libraries in Chrome, you can see the “GET https://contoso.sharepoint.com/\_api/apps/GetByType('FileHandler') 500 (Internal Server Error)” from the Chrome Development Tool.

Solution:

Our engineering team has provided a fix to resolve this issue.

============

If you have any other questions feel free to post us a new thread, we will continue to assist you from there.

Regards,

Spike

Was this answer helpful?

0 comments No comments

16 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-10-19T10:14:15+00:00

    Hi Jiaxing,

    Could you please let me know the information you need from tenant admins.

    Thanks & Regards,

    Balu

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-10-19T09:07:05+00:00

    Hi Balu & Siimav,

    We need your tenant information so that we can move forward. If you are not a tenant administrator, either check with your workplace/school tech support team for updates on the status of your service or have them engage with us on this thread. Would you please let tenant administrators contact me via Private Messages to provide this information by clicking on the link below:

    https://answers.microsoft.com/en-us/privatemessages/list

    Regards,

    Jiaxing

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-10-19T08:21:26+00:00

    I'm also having the same problem where FileHandlers that used to work fine for multiple months, are now broken. The same issue can be replicated in both my live and test tenants. The FileHandler O365-app is shown to be correctly installed in the app-drawer but no custom file icons are loaded and appredirects do not happen when opening a file. I'm seeing the same GraphClient AuthorizationException in browser console as already shown above.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2016-10-18T14:43:28+00:00

    Hi Jiaxing, 

    Could you please tell the product team to properly code it. The error message  appears 90-100 times in console and quite inconvenient when we are developing some thing. If the first call fails due to some access rights why call again 99 times.

    Was this answer helpful?

    0 comments No comments