| Previous | Next |
| PEER_E_CONTACT_NOT_FOUND | PEER_E_INVITE_RESPONSE_NOT_AVAILABLE |
PEER_E_INVITE_CANCELLED
Which peer contract was rejected
PEER_E_INVITE_CANCELLED — HRESULT 0x80637000 means that the application invitation operation was explicitly cancelled rather than failing in discovery, transport or trust validation. The relevant API boundary includes PeerCollabAsyncInviteContact/Endpoint and invitation result/cancel functions.
Minimum diagnostic packet
| Item | Evidence |
|---|---|
| Raw input | Preserve cancellation initiator, async invitation handle, UI action, target endpoint, callback/event order and whether cancellation raced completion. |
| Owning context | Record the Windows user, process integrity, graph or group handle, database path and selected cloud. |
| Previous success | Save the last successful create, open, enumerate, parse, register or sign-in result that produced the object. |
| Result order | Retain the first HRESULT so cleanup failures do not replace the code that rejected the request. |
Focused reproduction
Run one invitation to completion and one with a controlled user cancellation after dispatch.
Why the comparison code is different
PEER_E_INVITE_RESPONSE_NOT_AVAILABLE differs because cancelled has a final cancellation decision; response-not-available means the asynchronous result is not ready yet.
Recommended change
Treat cancellation as a terminal user decision, release the async handle and avoid automatic resubmission.
Technical references
Looking for a different code? Search another status or error code.