Postman POST command to run process is stuck in "NOT_STARTED"
Hope you can help with this.
I'm running a process that runs an import action from Postman and I get a status 200 every time. The problem is the process isn't running. When I check the status I get "NOT_STARTED". Does anyone know why this is happening?
The process is an import action that updates a boolean (1 cell) from TRUE to FALSE. Pretty simple.
If I run the process from within Anaplan it works without error.
Postman POST runs fine.
I would try troubleshooting this by running a POST on the import action itself rather than the process. You can do so by doing the following:
Then verify if you see a similar response as you had mentioned from the task ID on the GET request.
GET: POST: https://api.anaplan.com/1/3/workspaces/<workspaceID>/models/<modelID>/imports/<importID>/tasks/taskID
My guess is the import itself is throwing an error which is why the process is not able to get started, even though you have successfully triggered it using a POST request.
Let me know if this helps!0
could you show us your url/headers/body ?2
Thank you @ankit_bhargava and @nathan_rudman. Really appreciate the quick response!
@ankit_bhargava I think you're right. I'm getting an error when I run the import from Postman. But, if I run the import while inside of Anaplan it runs fine. Do you have any thoughts as to why I'm getting this error and what I can do to get this action to run properly?
@nathan_rudman I've added the screenshots of the URL
Here's the action I'm trying to run from Postman:
When I run this action in Anaplan it runs fine and resets the boolean flag to FALSE:
Here is the ImportID of the action taken from Postman:
When I run this action from Postman, I get this error: "Null Pointer"
I get the task ID no problem.
And I get the same response: Not Started0
@nathan_rudman here are the screenshots of the postman POST request:0
You rock @ankit_bhargava. Thank you, thank you, that solved the problem.
I have marked it as the solution!
Way to go.0
I was onto it 🙂
same is true for export by the way1
Yeah, you asked for the screenshot. I think that's what got us the answer. Thank you!
I must of overlooked it. All my other POST requests have this tag in the body.
Really appreciate all you do @nathan_rudman. I follow these issues all day - not sure how you're able to answer all these questions.0