Exit while loop in case of failure of the nextlink results retrieval
Closed this issue · 0 comments
vittalreddy commented
Currently, Python scripts continues to retrieve the nextlink url in case of failure of the nextlink url invocation which leads to incorrect results as next_link_url always points to previously set value. We should exit the loop by setting the next_link_url value to None in case of failure GET status code.