Common Return Codes

The following codes are commonly returned by Peer Networking:

SymbolicCodeDescription
PEER_E_ALREADY_EXISTS0x800700b7The requested operation could not complete because a duplicate item already exists.
PEER_E_ALREADY_LISTENING0x80630107The local peer is already listening on the network.
PEER_E_CANNOT_CONVERT_PEER_NAME0x80634001The conversion from a peer name failed. It has an invalid format or is too long.
PEER_E_CANNOT_START_SERVICE0x80630003One or more of the dependent services could not initialize. The modules pnrpsvc, p2psvc, p2pimsvc, and p2phost must be present. If not present, these modules can be manually initialized.
PEER_E_CERT_STORE_CORRUPTED0x80630801The Identity Store has been corrupted. Delete idstore.sst from the %appdata%\peernetworking folder.
PEER_E_CHAIN_TOO_LONG0x80630703An attempt has been made to create an invitation or issue credentials that are longer than the maximum allowance. Credentials retrieved from the group creator are preferred.
PEER_E_CIRCULAR_CHAIN_DETECTED0x80630706The invitation has an illegal circular chain. For example, A invites B, and then B invites A.
PEER_E_CLASSIFIER_TOO_LONG0x80630201The classifier is longer than the maximum allowed.
PEER_E_CLOUD_NAME_AMBIGUOUS0x80631005There is more than one cloud with the same scope. The cloud must be accessed specifically.
PEER_E_CONNECT_SELF0x80630106An attempt to establish a direct connection to yourself has been made.
PEER_E_CONNECTION_FAILED0x80630109A connection to the graph or group has failed, or a direct connection in a graph or group has failed.
PEER_E_CONNECTION_NOT_AUTHENTICATED0x8063010AAn error has occurred while establishing a connection in a graph or group, or while connecting based on an IP address in a group.
PEER_E_CONNECTION_NOT_FOUND0x80630103An attempt to disconnect a direct connection that does not exist has been made.
PEER_E_CONNECTION_REFUSED0x8063010BThe neighbor in the mesh is not accepting connections.
PEER_E_CONTACT_NOT_FOUND0x80636001The contact requested was not found.
PEER_E_DATABASE_ACCESSDENIED0x80630302The requested access to the database has been denied.
PEER_E_DATABASE_ALREADY_PRESENT0x80630305An attempt has been made to create a graph with the same graph ID, peer ID, and database name as a graph created previously.
PEER_E_DATABASE_NOT_PRESENT0x80630306The database requested was not found.
PEER_E_DBINITIALIZATION_FAILED0x80630303Upgrading the application to run on Vista failed as a result of the database used on the previous operating system being unable to load.
PEER_E_DBNAME_CHANGED0x80630011A graph has been opened in the same process with a different database name than it was opened with initially.
PEER_E_DEFERRED_VALIDATION0x80632030The graph security layer cannot verify the record at this time.
PEER_E_DISK_FULL0x80070070The local machine is out of disk space.
PEER_E_DUPLICATE_GRAPH0x80630012An attempt has been made to create a graph with a graph ID previously used in the same process. Creation will require a new graph ID.
PEER_E_EVENT_HANDLE_NOT_FOUNDThe peer is using an invalid event handle.
PEER_E_FW_BLOCKED_BY_POLICY0x80637009The firewall exception, Windows Peer Collaboration Foundation, is blocked by group policy. Talk to your administrator about enabling this exception.
PEER_E_FW_BLOCKED_BY_SHIELDS_UP0x8063700aThe firewall settings explicitly state "no exceptions" to the firewall policy.
PEER_E_FW_EXCEPTION_DISABLED0x80637008The firewall exception, Windows Peer Collaboration Foundation, is disabled. The exception can be enabled by accepting the People Near Me privacy dialog or directly from within the firewall UI.
PEER_E_GROUPS_EXIST0x80630204An attempt to delete an identity which has one or more associated groups has been made. The groups must be deleted prior to the removal of the associated identity.
PEER_E_GRAPH_IN_USE0x80630015An attempt to import the graph database has been made while the graph is still connected or listening. The graph must be closed prior to this operation.
PEER_E_GRAPH_NOT_READY0x80630013The peer has attempted to perform an operation that requires that requires connectivity, but is not connected to the graph.
PEER_E_GROUP_IN_USE0x80632092An attempt has been made to import the group database while the group is still connected . The group must be closed prior to this operation. The error is also returned while trying to join a group that is already open.
PEER_E_GROUP_NOT_READY0x80632091This error is returned when not connected to the group while trying to perform an operation that requires connectivity.
PEER_E_GRAPH_SHUTTING_DOWN0x80630014A graph shutdown is in progress. Graph-related operations cannot be performed.
PEER_E_IDENTITY_DELETED0x806320a0An identity being used in the operation has been deleted.
PEER_E_IDENTITY_NOT_FOUND0x80630501The local peer is using an identity that does not exist.
PEER_E_INVALID_ADDRESS0x80637007The address specified is invalid.
PEER_E_INVALID_ATTRIBUTES0x80630602The format specified for attributes is not correct when adding a record.
PEER_E_INVALID_CLASSIFIER0x80632060The classifier specified is invalid.
PEER_E_INVALID_CLASSIFIER_PROPERTY0x80632072The classifier in the invitation used while joining the group is invalid.
PEER_E_INVALID_CREDENTIAL0x80632082An invitation specified for joining the group is invalid.
PEER_E_INVALID_CREDENTIAL_INFO0x80632081The credential information specified is invalid.
PEER_E_INVALID_DATABASE0x80630016The graph ID in the database being imported is different from the Graph ID found in the path to the database.
PEER_E_INVALID_FRIENDLY_NAME0x80632070The friendly name specified is invalid.
PEER_E_INVALID_GRAPH0x80630010An invalid handle to the graph is being used. Use the handle returned after creating or opening the graph.
PEER_E_INVALID_GROUP0x80632093The group handle is invalid or the group has been marked for deletion.
PEER_E_INVALID_GROUP_PROPERTIES0x80632040The group properties specified are invalid.
PEER_E_INVALID_PEER_NAME0x80632050The format of the peer name specified is invalid.
PEER_E_INVALID_PEER_DNS_NAME0x80634002The conversion from a DNS name to a peer name has failed. It is possible the format of the DNS name is incorrect.
PEER_E_INVALID_RECORD0x80632010The record is invalid.
PEER_E_INVALID_RECORD_EXPIRATION0x80632080The record expiration specified is invalid.
PEER_E_INVALID_RECORD_SIZE0x80632083The record size specified is invalid.
PEER_E_INVALID_ROLE_PROPERTY0x80632071The role specified is invalid.
PEER_E_INVALID_SEARCH0x80630601The format specified for a search string is not valid.
PEER_E_INVALID_TIME_PERIOD0x80630705This is returned when the time values supplied during the creation of invitations or credentials are incorrect.
PEER_E_INVITE_CANCELLED0x80637000An application invite has been canceled.
PEER_E_INVITE_RESPONSE_NOT_AVAILABLE0x80637001A response is not available. Wait for the event to be signaled.
PEER_E_INVITATION_NOT_TRUSTED0x80630701The invitation used to join the group is not valid.
PEER_E_IPV6_NOT_INSTALLED0x80630001IPv6 is not installed on this machine. IPv6 is required for the Windows Peer infrastructure.
PEER_E_MAX_RECORD_SIZE_EXCEEDED0x80630304The record size exceeds maximum limitations.
PEER_E_NO_CLOUD0x80631001An attempt has been made to access a cloud that does not exist.
PEER_E_NO_KEY_ACCESS0x80630203No access is given to the directory where keys are stored.
PEER_E_NO_MORE0x80634003No endpoints left.
PEER_E_NO_MEMBER_CONNECTIONS0x80632095A connection to a group has failed because the member found could not accept the connection.
PEER_E_NO_MEMBERS_FOUND0x80632094A connection to a group has failed because there are no active members in the group.
PEER_E_NODE_NOT_FOUND0x80630108An attempt has been made to perform a graph node-related operation for a node that does not exist.
PEER_E_NOT_AUTHORIZED0x80632020An attempt has been made to perform an unauthorized operation.
PEER_E_NOT_FOUND0x80070490The requested data does not exist.
PEER_E_NOT_INITIALIZED0x80630002The Windows Peer infrastructure is not initialized. Calling the relevant initialization function is required.
PEER_E_NOT_LICENSED0x80630004The Windows Peer infrastructure is not licensed to operate on this platform.
PEER_E_NOT_SIGNED_IN0x80637003The operation requires the user to be signed in.
PEER_E_PASSWORD_DOES_NOT_MEET_POLICY0x80632021The password specified does not meet group policy password requirements.
PEER_E_PNRP_DUPLICATE_PEER_NAME0x80634005A peer name has been registered more than once in the same cloud.
PEER_E_PRIVACY_DECLINED0x80637004The user has chosen not to start People Near Me by declining the privacy dialog. The privacy will appear the next the user attempts sign-in.
PEER_E_RECORD_NOT_FOUND0x80630301The local peer is using a record that does not exist.
PEER_E_SERVICE_NOT_AVAILABLE0x806320a1The Peer Collaboration infrastructure, which includes People Near Me, is not available. This code will also be returned whenever an attempt is made to utilize the Collaboration infrastructure from an elevated process.
PEER_E_TIMEOUT0x80637005The local peer timed out while trying to connect to the endpoint to subscribe or invite to.
PEER_E_TOO_MANY_ATTRIBUTES0x80630017More attributes than the maximum allowed have been added to a record.
PEER_E_TOO_MANY_IDENTITIES0x80630202The system cannot create additional identities.
PEER_E_UNABLE_TO_LISTEN0x80632096The local peer is unable to listen. The port requested may not be available.
PEER_E_UNSUPPORTED_VERSION0x80632090This version is not supported.
PEER_S_ALREADY_CONNECTED0x00632000The local peer is already connected to the group or graph.
PEER_S_ALREADY_A_MEMBER0x00630006The local peer attempted to join a group based on a password more than once.
PEER_S_GRAPH_DATA_CREATED0x00630001The Graph Properties have been created for the graph that was opened. It is important to note that certain operations will be limited until this local node has synchronized with other nodes in the graph.
PEER_S_NO_CONNECTIVITY0x00630005The sign-in succeeded, but IPv6 addresses are not available at this time.
PEER_S_NO_EVENT_DATA0x00630002The event data is not present.
PEER_S_SUBSCRIPTION_EXISTS0x00636000The specified endpoint has already been subscribed to.
86 entries

Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.