AlreadyExists
Andromeda answers 409 with the problem type https://uri.etsi.org/ngsi-ld/errors/AlreadyExists. The resource you are creating already exists. Andromeda never overwrites the stored one, so delete it first or pick another identifier. The specification defines this type and binds it to 409.
When this comes back
- Create Entity under an
idthat is taken. This operation has no upsert, so overwriting needs Replace Entity or a batch upsert. See Entities. - Create Subscription with an
idalready in use. See Subscriptions. - Create Snapshot under an
idthat already exists, or a second clone under the sameid. See Snapshots.
In a batch, a create whose id is taken is reported against that entity in a 207 instead, and the rest of the batch is written.
A repeated Create Entity after a timed-out request answers 409 too, and that is good news. It tells you the first attempt got through. See Writes that may or may not have happened.