Canvas data 2 Weblog API call issue

sonnyd
Community Member

Web log API process fails after running for 30 minutes with the error below. It looks like the token expires before Canvas system can deliver the data set. Once the API call to https://api-gateway.instructure.com/dap/query/canvas_logs/table/web_logs/data started, the only I can do is wait for the status to finish before processing the next step. Is there a way for extend the token expiration time? Please advise.

Thanks.

 

running
{
"id" : "354e23a8-0ff2-41b7-9a72-d1742e0f0c0c",
"status" : "running",
"expires_at" : "2023-12-01T14:53:35Z"
}

running
{
"id" : "354e23a8-0ff2-41b7-9a72-d1742e0f0c0c",
"status" : "failed",
"expires_at" : "2023-12-01T14:53:35Z"
}

failed
{
"id" : "354e23a8-0ff2-41b7-9a72-d1742e0f0c0c",
"status" : "failed",
"expires_at" : "2023-12-01T14:53:35Z"
}
failed
{"error":"The Token has expired on 2023-11-30T15:56:33Z."}

0 Likes