Hi All,
I tried to iterate a list of requests and call API POST command with HTTP Connector component for importing "equipment class library" into Foundation Hub.
But, the error popped up showing "The following errors occurred while calling POST https://msc-nb2021.msc-demo.com:9953/foundation/hub/api/v1/equipmentclasses HttpStatus:422; {"errors":[{"message":"Unique Constraint Violation: At least one of the values you supplied is not unique, it already exists in the database"}]}" when the second data record flowed into HTTP Connector.
It seems that the value of the parameter "request body" in HTTP Connector component didn't change to the next round value when the second data record flowed through it.
The link deblow was the PP protocol I wrote and JSON data I used.
https://drive.google.com/drive/folders/1rLxkoG9i_aYyzgYuFPP0qmH-Q9fTouk1?usp=sharing
Does anyone know how do I call a list of API requests using Pipeline Pilot or help me out and tell me what's wrong with my PP protocol?
My PP version is 21.2.0.2574 and Foundation Hub version is 21.1.0.72689.