DATA KIOSK UnAuthorised #4699
Unanswered
ElephantandAntzDigitalSolutionsLLP
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Guys,
I am trying to work on downloading, "Business Report" via data kiosk using "analytics_salesAndTraffic_2023_11_15", but In the Response of this, I am getting the output :
INFO - Step 1: Submitting query to Data Kiosk...
WARNING - Query submitted with warning (non-200): 202 - {"queryId":"144470020168"}
INFO - Query submitted successfully. Query ID: 144470020168
INFO - Polling attempt 1 for query status...
INFO - Query status: IN_QUEUE
INFO - Polling attempt 2 for query status...
INFO - Query status: IN_PROGRESS
INFO - Polling attempt 3 for query status...
INFO - Query status: FATAL
ERROR - Query is DONE but no data was found. No document generated.
Now, when I tried with the recent version "analytics_salesAndTraffic_2024_04_24", I am getting output as Unauthorized.
output :
INFO - Access Token obtained successfully.
INFO - Sending test query to the Data Kiosk endpoint...
INFO - Response status code: 403
INFO - Response body: {
"errors": [
{
"code": "Unauthorized",
"message": "Access to requested resource is denied.",
"details": ""
}
]
}
I do not understand, how I can have an access to one version and not to the other,
PS. - I have not used EventBridge as well as Notifications APIs, because, I just want to download the report in local device and I am ok with using polling to check if query is completed or not.
Please find attached, both the codes I used in trying to download the data.
data_kiosk_2023_version.txt
data_kiosk_2024_version_test.txt
Beta Was this translation helpful? Give feedback.
All reactions