locked
Rest API - Unable to start deployment on an environment RRS feed

  • General discussion

  • Hi Everyone,

    Am trying to start deployment to an environment using RM API but am getting null reference exception.

    But able to deploy to environment MANUALLY but not through API.

    API URL:

    http://*****:8080/tfs/***/****/_apis/Release/releases/10/environments/11

    It returned below response:

     {"$id":"1","innerException":null,"message":"Object reference not set to an instance of an object.","typeName":"System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089","typeKey":"NullReferenceException","errorCode":0,"eventId":0}

    Please can anyone reply with suggestions.

    -Prashanth

    Friday, December 1, 2017 1:59 PM