Email Data Feed - 416 Cursors is not set. You must request a cursor reset first
search cancel

Email Data Feed - 416 Cursors is not set. You must request a cursor reset first

book

Article ID: 255383

calendar_today

Updated On:

Products

Email Security.cloud Policy-Based Email Encryption PGP Cloud Email Threat Detection and Response

Issue/Introduction

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. 

 

Environment

Email Threat Detection and Response

 

Cause

This error is returned if the cursor is invalid or missing, the cursor must be reset before fetching the data from Datafeed.  

 

Resolution

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

Additional Information