Hey. we’re executing an JQL API Request using the ...
# questions
l
Hey. we’re executing an JQL API Request using the following request details:
Copy code
Send request to url <https://mixpanel.com/api/2.0/jql> 
params:{'script':\"functionmain()
{returnEvents({
from_date:'2023-02-01',
to_date:'2023-02-01',
event_selectors:[{event:'KMELinkClicked'}]
})
}\"}
And we’re getting the following response:
Precondition Failed
We execute the following request (a day earlier), and it is successful:
Copy code
Send request to url <https://mixpanel.com/api/2.0/jql> 
params: {'script': \function main()\\ { return Events({\\ from_date: '2023-01-31',\\ to_date: '2023-01-31',\\ event_selectors:[{event:'KME Link Clicked'}]\\ })\\ } \}
Should we perform anything specific so the February 1st request is successful?