Brocade Management Software Community

Expand all | Collapse all

Trying Rest API Zone post getting Transaction does not exist

  • 1.  Trying Rest API Zone post getting Transaction does not exist

    Posted 10-31-2017 12:48 PM

    Trying to add a zone and zone alias and when I run the command i get a 404 with RSError [errorCode=16103, errorMsg=Transaction does not exist] as the response.

     

    Attaching the javascript code.

     

    Running BNA 14.0.1


    #BrocadeManagementSoftwareCommunity


  • 2.  Re: Trying Rest API Zone post getting Transaction does not exist

    Posted 10-31-2017 12:50 PM
      |   view attached

    Attaching javascript code


    #BrocadeManagementSoftwareCommunity


  • 3.  Re: Trying Rest API Zone post getting Transaction does not exist

    Posted 12-08-2017 11:47 AM

    Hi @markarr,

     

    zoning (via POST) must be done via zoning transaction

     

    • All POST zoning operations are valid only within the context of a zoning transaction.

     

    So, you need set up your controlzonetransaction before posting your zoning change - see the following post for some details:

     

    https://community.brocade.com/t5/Management-Software/I-am-trying-REST-API-for-BNA-controlzone-transaction-I-am/m-p/94698

     

    And after the zoning operation either commit or abort.

     

     

     


    #BrocadeManagementSoftwareCommunity