When the CURL command is executed to fetch data from the Datafeed, an error was issued - " 416 Cursors is not set. You must request a cursor reset first"
Example:
curl -u "Username:Password" -vvv "https://datafeeds.emailsecurity.symantec.com/all"
< HTTP/1.1 416
* Connection #0 to host datafeeds.emailsecurity.symantec.com left intact
Cursors is not set. You must request a cursor reset first.
Email Threat Detection and Response
This error is returned if the cursor is invalid or missing, the cursor must be reset before fetching the data from Datafeed.
Ensure that the pass-in cookies are saved when executing the CURL command.
Reset/set the cookie (Change the start date from the date the data needs to be collected)
curl -v -c cookieJar --basic --user "Username:Password" https://datafeeds.emailsecurity.symantec.com/all?reset=2025-05-20T00:00:00Z
Use the cookie (Replace the URL specified in additional information)
curl -v -b cookieJar --basic --user "Username:Password" https://datafeeds.emailsecurity.symantec.com/all
The Data Feeds API's available feeds:
https://datafeeds.emailsecurity.symantec.com/all
https://datafeeds.emailsecurity.symantec.com/malware
https://datafeeds.emailsecurity.symantec.com/test
https://datafeeds.emailsecurity.symantec.com/spam
https://datafeeds.emailsecurity.symantec.com/delivery
https://datafeeds.emailsecurity.symantec.com/isolation
https://datafeeds.emailsecurity.symantec.com/clicktime
https://datafeeds.emailsecurity.symantec.com/ec_reports