When you exchange data with v2 APIs, you don’t need to specify Accept and Content-Type headers explicitly. By default, the API uses application/json for both requests and responses. .
If you do include these headers, they must be set to application/json. Using any other value results in:
