Hi there,
I have had a tremendous amount of issues getting my queries to work using this script. Authentication works, and the partitions are create fine, but when the queries are sent to the I'm getting the following:
[NETWORK] Retry attempt for partition 1/2 (43.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (42.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
I'm keeping my queries to a minimum, although I would like to get all M365Usage too, I'm testing with Copilot Interactions and only a single day.
I'm fearing that the error could come from many different things - would you have any obvious things to check for?
And now the job failed again - seems to be related to timing: don't know if the query runs for too long:
Job 18 error: [CREATE-FAILED] Network outage exceeded 30 minute tolerance during query creation
[RETRY-QUEUE] Partition 2/2 marked as Failed for retry (from monitoring loop)
[09.08.54] Total Queries: 2 | Completed: 0 | Remaining: 1 | Failed: 1
Initial job execution complete. States: Failed:2
Partition 1 error: [NETWORK] Retry attempt for partition 1/2 (43.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (103.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (147.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (202s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (257.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (315.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (371.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (421.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (481.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (524.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (566.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (623.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (680.7s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (734s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (780.5s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (825.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (869.5s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (926.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (973.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1027.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1082.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1129.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1184.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1240.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1297.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1343.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1393s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1450.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1508.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1549.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1593.5s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1637.9s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1690.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1742.7s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 1/2 (1795.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[CREATE-FAILED] Partition 1/2 - Network outage exceeded 30 minute tolerance (30.9m elapsed) - will retry at end of run
Partition 2 error: [NETWORK] Retry attempt for partition 2/2 (42.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (102.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (158.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (203.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (254s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (294.5s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (352.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (396s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (440.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (493.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (537.7s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (595.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (636s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (679.9s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (735.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (785s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (841.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (899.9s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (956.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1005.5s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1058.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1109.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1150s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1195.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1246.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1309.9s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1373.7s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1428.3s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1484.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1525.2s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1583.6s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1630.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1672.5s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1715s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (1756.4s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[CREATE-FAILED] Partition 2/2 - Network outage exceeded 30 minute tolerance (30.2m elapsed) - will retry at end of run
[RETRY] Pass 2/5 - 2 partition(s) need retry
Final Error:
Below are the API Permissions:
Hope to get some help.
Hi there,
I have had a tremendous amount of issues getting my queries to work using this script. Authentication works, and the partitions are create fine, but when the queries are sent to the I'm getting the following:
[NETWORK] Retry attempt for partition 1/2 (43.8s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
[NETWORK] Retry attempt for partition 2/2 (42.1s elapsed) : Response status code does not indicate success: 500 (Internal Server Error).
I'm keeping my queries to a minimum, although I would like to get all M365Usage too, I'm testing with Copilot Interactions and only a single day.
I'm fearing that the error could come from many different things - would you have any obvious things to check for?
And now the job failed again - seems to be related to timing: don't know if the query runs for too long:
Final Error:
Below are the API Permissions:
Hope to get some help.