I've been having issue when running request REST POST api/v2/nodes using Postman where it will return status code 500 - Internal Server Error when the document name is already available in the ECM folder.
The correct status code for this request would be 400 - An item with the name '{name}' already exists.
However, this issue happened when I'm using the Postman from another server,
When I'm using the Postman locally in the server, it will return status code 500 - An item with the name '{name}' already exists which from my checking is a documentation error which is still open for the v2.
Using v1 locally will return the correct status code and error message.
When I used v1 from another server, it will return the status code as 400 - Bad Request