Public API - Not Found

Options
nadardin
nadardin Registered Posts: 5 ✭✭✭✭

Hi Team,

I am trying to connect public API (https://doc.dataiku.com/dss/api/8.0/apinode-user/) through http call. when I am trying to connect, below error we are facing

{'errorType' : 'Not Found', 'message': ''Not Found' /dip/publicapi/v1/tap1/tapPredict/predict'

Regards,

Dinesh Nadar

Best Answer

  • Sarina
    Sarina Dataiker, Dataiku DSS Core Designer, Dataiku DSS Adv Designer Posts: 315 Dataiker
    Answer ✓
    Options

    Hi @nadardin,

    It sounds like you are trying to hit one of your API endpoints for the service tap1 and the endpoint tapPredict. From the error message, I’m wondering if you might be hitting an API node endpoint from your DSS Design node host. In order to hit the API node endpoints, you will use the host and port from your API node.

    You can find the full request endpoint URL by going into your API deployer > Select your deployment > Summary > Endpoint URL:

    Screen Shot 2021-02-04 at 11.43.48 AM.png

    In this screenshot my serviceId is Tutorial_Deployment and my endpointId is High_Revenue_Customers.

    Note that if try and hit the incorrect host:
    http://localhost:13803/public/api/v1/Tutorial_Deployment/High_Revenue_Customers/predict, where the host is from my DSS Designer, I receive the same “Not Found” error message that you received. The correct endpoint in this example is the one listed as the endpoint URL.

    If that doesn’t address your use case, maybe you can attach some screenshots of the tap1 setup and your request attempt?

    Thank you,
    Sarina

Answers

Setup Info
    Tags
      Help me…