Raise error if API returns a code other than what is expected
What does this MR do?
Currently, the script silently fails and continue with the next step incase the API responds with a non 2xx code. This MR fixes that.
Does this MR meet the acceptance criteria?
Conformity
Edited by Sanad Liaquat