Forum Discussion

ionutbarna's avatar
ionutbarna
New Contributor II
5 years ago
Solved

Error 404 when doing a POST request to stop a pipeline

Hello, I am trying to terminate a running pipeline using Snaplogic API (according to the API Documentation) with POST snap but I get a 404 error every time. My snap settings: Error: ...
  • j_angelevski's avatar
    5 years ago

    Hi @ionutbarna,

    I think you have wrong endpoint for stopping a pipeline.
    The correct endpoint is: /api/1/rest/public/runtime/stop/<Org>/<ruuid>
    Your endpoint is: api/1/rest/public/stop/<Org>/<ruuid>. You are missing the /runtime/ in the endpoint.