Hi Srishati, the error suggests that you have a network error or the Apigee API URL you have specified isn't correct:
"000 is a common code to use when no HTTP code was received due to a network error . 000 also means that the client disconnected before completing the request for that service."
Please use the HTTP response code for troubleshooting. I'd suggest you send a curl request to Apigee to see if it is working before using the script.
... View more