cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Error 404 when doing a POST request to stop a pipeline

ionutbarna
New Contributor II

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:
settings

Error:
error_post

The ruuid is correct (Iโ€™ve done a get request and Iโ€™ve got a response) and Iโ€™ve configured Basic Auth.

Are there any settings that I need to make or am I doing something wrong?

Iโ€™ll appreciate any help.

1 ACCEPTED SOLUTION

j_angelevski
Contributor III

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.

View solution in original post

2 REPLIES 2

j_angelevski
Contributor III

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.

Thank you! I need to pay more attention