Thank you for posting query in Microsoft Q&A Platform.
This error can occur if the REST API URL is incorrect or pipeline which you are trying is not published.
Below is the documentation link for REST API for Synapse pipeline run. Please check it.
https://learn.microsoft.com/en-us/rest/api/synapse/data-plane/pipeline/create-pipeline-run?tabs=HTTP
Your REST API URL should be as below.
https://{workspaceName}.dev.azuresynapse.net/pipelines/{pipelineName}/createRun?api-version=2020-12-01
Please replace your workspace name and pipeline name in above URL and make sure its POST method.
Also, please make sure the pipeline which you are trying to run, is exists and published to workspace.
Hope this helps.
Please consider hitting Accept Answer
button. Accepted answers help community as well.