Hi Shivi Gargi,
Thank you for posting your query in Microsoft Q&A Platform.
From, your code it seems your not passing defined object to
on_error
parameter ofquery_blob()
function.
That means report_error
variable which you are passing to on_error
of query_blob()
function is not holding anything. It should hold a function to be called on any processing errors returned by the service.
Please check below documentation of query_blob
function to understand more and make sure you pass parameter values correctly as expected by service.
Hope this helps. Please let me know how it goes.
Please consider hitting Accept Answer
button. Accepted answers help community as well.