AnsweredAssumed Answered

Activating certain properties using PAPI failing with connection errors

Question asked by Dhilip Venkatesh Uvarajan Champion on Jul 4, 2017
Latest reply on Aug 14, 2017 by Vreddhi Bhat

Kirsten Hunter Viktoriya Reyzelman Akshay Ranganath


I am getting connection broken error when I am trying to activate specific configurations through PAPI. I can still activate using PM UI. 


PAPI activation works for some configurations though. Below I have provided the command and post body I am using for activation. Let me know if anyone has encountered this issue?

Activation URL: /papi/v1/properties/prp_***/activations/?contractId=ctr_1-***&groupId=grp_***
Post body for activation: {"note": "Activating environment dev9", "notifyEmails": [""], "network": "STAGING", "propertyVersion": 60}

Traceback (most recent call last):
File "", line 477, in <module>
File "", line 298, in activate
response = httpCaller.postResult(activation_url,json.dumps(json.loads(post_body)))
File "/home/e1982160/OpenAPI_Python/", line 101, in postResult
endpoint_result =,path), data=body, headers=headers, params=parameters)
File "/usr/local/lib/python2.7/site-packages/requests-2.13.0-py2.7.egg/requests/", line 535, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python2.7/site-packages/requests-2.13.0-py2.7.egg/requests/", line 488, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/site-packages/requests-2.13.0-py2.7.egg/requests/", line 641, in send
File "/usr/local/lib/python2.7/site-packages/requests-2.13.0-py2.7.egg/requests/", line 797, in content
self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
File "/usr/local/lib/python2.7/site-packages/requests-2.13.0-py2.7.egg/requests/", line 722, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ('Connection broken: error("(104, \'ECONNRESET\')",)', error("(104, 'ECONNRESET')",))