Troubleshooting REST API requests
This page lists troubleshooting responses to two errors that you may run into when sending a request to the REST API.
If you are getting a "cookies required" error, check whether you're sending a "User-Agent" header as part of your request. Most languages and libraries automatically send a "User-Agent" header, but some (such as Java) do not.
Try setting the "User-Agent" header manually. The value that you set the header to does not matter.
If you are getting SSL/certificate errors, this may be happening because of outdated cacert
files. Update
your trusted certificates to a later version.