[Answered ]-TF400898: An Internal Error Occurred. Activity Id: 1fc05eca-fed8-4065-ae1a-fc8f2741c0ea

1👍

I’ve fixed that error, actually the payload was not in json format so i have to make it as json and after that it worked fine.
Like this

response = requests.post('https://dev.azure.com/{organization}/{project}/_apis/git/repositories/{repoId}/pushes', headers=headers,  params=params, data=json.dumps(payload))

Leave a comment