โ08-11-2021 04:37 AM
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:
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.
Solved! Go to Solution.
โ08-11-2021 05:20 AM
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.
โ08-11-2021 05:20 AM
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.
โ08-11-2021 05:28 AM
Thank you! I need to pay more attention