I’m getting this error when trying to create a deal pipeline via API.
In this case, I have already created this exact deal pipeline and then I deleted it, then tried again via API.
Perhaps it’s possible that the old one wasn’t really deleted?
It no longer shows up in the UI, nor when I get all pipelines via
Alternately, if I then append a “1” to these
stageId values, I get this error:
Error: all stages must reference pipelineId which must exist in the deals_pipelines table
But of course, I don’t have the pipelineId, nor do the API documents tell me to supply a pipelineId.
And if I try to set the
pipelineId value when I add the pipeline, I get this:
Error: pipelineId must not be set when inserting new pipeline