Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4a2fea9

Browse files
committedMar 14, 2022
Update error message
1 parent 42f28a0 commit 4a2fea9

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed
 

‎articles/digital-twins/tutorial-command-line-app.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,9 @@ Rerun the `CreateModels` command to try re-uploading one of the same models you
9696
CreateModels Room
9797
```
9898

99-
As models cannot be overwritten, this command will now return a service error.
99+
As models cannot be overwritten, this command will now return a service error indicating that some of the model IDs you are trying to create already exist.
100+
100101
For the details on how to delete existing models, see [Manage DTDL models](how-to-manage-model.md).
101-
```cmd/sh
102-
Response 409: Service request failed.
103-
Status: 409 (Conflict)
104-
105-
Content:
106-
{"error":{"code":"ModelAlreadyExists","message":"Could not add model dtmi:example:Room;2 as it already exists. Use Model_List API to view models that already exist. See the Swagger example.(http://aka.ms/ModelListSwSmpl)"}}
107-
108-
Headers:
109-
Strict-Transport-Security: REDACTED
110-
Date: Wed, 20 May 2020 00:53:49 GMT
111-
Content-Length: 223
112-
Content-Type: application/json; charset=utf-8
113-
```
114102

115103
## Create digital twins
116104

0 commit comments

Comments
 (0)
Please sign in to comment.