SG v8.55 more strict on malformed request headers (resulting in 406 errors)

With our v8.55 update of ShotGrid we no longer allow a malformed HTTP “Accept” header. We have noticed a few cases where “vnd+shotgun” was included in that header.

As documented, “vnd+shotgun” is meant to be used only in the “Content-Type” header, not in the “Accept” header (which was allowed until v8.54). The “Accept” header in those cases should likely be “application/json” as you will find in all the examples of our REST API documentation.

What could go wrong if you don’t change this?
Sending “vnd+shotgun” as part of the “Accept” header would prompt our API to return a 406 HTTP error and your request will not be executed.

2 Likes