| Previous | Next |
| PEER_E_MAX_RECORD_SIZE_EXCEEDED | PEER_E_DATABASE_NOT_PRESENT |
PEER_E_DATABASE_ALREADY_PRESENT
Which peer contract was rejected
PEER_E_DATABASE_ALREADY_PRESENT — HRESULT 0x80630305 means that database creation/import targets a graph ID, peer ID and database name combination that already has a local database. The relevant API boundary includes PeerGraphCreate/Open and graph database import.
Peer records combine a typed record structure, optional searchable XML attributes, payload data, creator metadata and expiration. The local database may receive records in an order different from application dependencies.
Minimum diagnostic packet
| Item | Evidence |
|---|---|
| Raw input | Preserve target path, graph and peer IDs, existing database hash, creation/import mode and whether the application intended open, replace or import. |
Focused reproduction
Use a clean temporary target for import and compare with the original occupied target without deleting either database.
Why the comparison code is different
PEER_E_DUPLICATE_GRAPH differs because database-already-present is persistent-store identity; duplicate-graph is an in-process graph object collision.
Recommended change
Open the existing database when it is the intended store, or choose an explicit new target for import; never silently replace replicated state.
Technical references
Looking for a different code? Search another status or error code.