Tobias Zimmergren 12/26/2012

Fixing: The HTTP header ACCEPT is missing or its value is invalid - SharePoint 2013

Read Original

This article provides a quick troubleshooting tip for developers encountering the 'HTTP header ACCEPT is missing or its value is invalid' error in SharePoint 2013. It explains that moving from Beta to RTM changed how REST calls work in the client object model. The fix involves updating the 'accept' header in AJAX requests from 'application/json' to 'application/json;odata=verbose'. This helps developers using older example code or migrating projects avoid debugging time.

Fixing: The HTTP header ACCEPT is missing or its value is invalid - SharePoint 2013

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet