Problem Statement: when the user executes the REST API curl request for Workflow build, the user may get to see the below error
Usually, Admins create the new user and generate the Auth Token from UI, and use that credentials in RestAPI.
Since the newly created User has not logged into the application, the Auth Token is not in sync with Mongo Metadata.
To make this work, The newly created user should log in to Infoworks UI once.
This will solve the problem.