Layer7 API Management

  • 1.  Not able to consume API Published on Gateway through Live API Creator

    Posted Aug 17, 2018 05:59 AM

    Hello All,

     

    I have published an API on Gateway 9.2 using Live API creator 4.1. I am able to consume the APIs from Live creator directly. However, when I try to consume them via the gateway, the only endpoint i am able to consume is the @docs endpoint (https://gateway_Ip:port/ezxdu/v1/@docs) The other endpoints when I am trying to consume e.g. (https://gateway_Ip:port/ezxdu/v1/main:city) always getting below error:

     

    Response:

    {
    "statusCode": 404,
    "errorCode": 4044,
    "errorMessage": "No such resource: main:city"
    }

     

    Can refer below screenshot.

    Get request through API Gateway

    .Get request through API gateway for @docs

     

    Tried using Northwind DB, but facing same issue with it also.

     

    Thanks in advance



  • 2.  Re: Not able to consume API Published on Gateway through Live API Creator
    Best Answer

    Posted Aug 17, 2018 06:58 AM

    Hi Aniket,

     

    Please create below roles for the service in LAC.

     

    API Owner, API User and API Developer.

     

    I guess this should solve your issues.

     

     

    Regards,

    Irfan



  • 3.  Re: Not able to consume API Published on Gateway through Live API Creator

    Posted Aug 17, 2018 07:26 AM

    Hello irfan.mugale,

     

    Thanks, yes its working now. Am able to consume APIs through API Gateway.

     

    Regards,

    Aniket Karle