Hey everyone! We’re executing an JQL API Request ...
# questions
b
Hey everyone! We’re executing an JQL API Request using the following request details:
Copy code
curl -X POST '<https://mixpanel.com/api/2.0/jql>' \
-H 'Accept-Encoding: gzip,deflate' \
-H 'Authorization: Basic XXX' \
--data-urlencode 'script=function main() { return Events({ from_date: '\''2023-09-29'\'', to_date: '\''2023-09-29'\'', event_selectors:[{event:"loaded: refundpaymentview"},{event:"loaded: scheduling view"},{event:"loaded: setup guide"},{event:"loaded: signature modal"},{event:"loaded: source lead modal"},{event:"loaded: startfromfilewizardmodalview"},{event:"loaded: XXX: invoice created"},{event:"loaded: XXX: modal opened"},{event:"loaded: XXX: payment tool questions"},{event:"loaded: XXX: value proposition"},{event:"loaded: tasks"},{event:"loaded: template"},{event:"loaded: time_tracker_entry_modal"},{event:"loaded: time_tracker_full_modal"},{event:"loaded: time_tracker_sample_modal"},{event:"loaded: time_tracker_tool_invoice_modal"},{event:"loaded: timetrackertool"},{event:"loaded: tos modal"},{event:"loaded: upgrade badge"},{event:"loaded: upgrade banner"},{event:"loaded: uploadclientsmodal"},{event:"loaded: video modal"},{event:"loaded: view"},{event:"loaded: view preferred vendors list"},{event:"loaded: workflowfirstlevelnavview"},{event:"loaded: workflowsview"},{event:"loaded: workspace feed"},{event:"loaded: workspace file"},{event:"loaded: workspace files"},{event:"loaded: workspacefileredirectionview"}] }) }'
And at some point, we’re getting the following response:
'{"request": "/api/2.0/jql", "error": "Precondition Failed"}'
We would appreciate your assistance since the response does not indicate a specific issue and what we need to change to fix this it.