RepliConnect Exceptions

Examples of three exceptions you may encounter when using RepliConnect are given below.

No results found to match

Request

[
  {
    "Action":"Query",
    "QueryType":"UserByEmail",
    "DomainType":"Replicon.Domain.User",
    "Args":["bob@yourcompany.com"
    ]
  }
]

Response

{
  "Status":"OK",
  "Value":[]
}

Could not find identity specified

Request

[
  {
    "Action":"LoadIdentity",
    "DomainType":"Replicon.Domain.User",
    "Identity":"13"
  }
]

 

Response

{
  "Status":"Exception",
  "Type":"Replicon.RemoteApi.Core.ObjectNotFoundException",
  "Message":"Identity 13 could not be found for Replicon.Domain.User!",
  "ActionIndex":0
}

Invalid format for identity for the object

Request

[
  {
    "Action":"LoadIdentity",
    "DomainType":"Replicon.Domain.User",
    "Identity":"abc"
  }
]

Response

{
  "Status":"Exception",
  "Type":"System.FormatException",
  "Message":"Input string was not in a correct format.",
  "ActionIndex":0
}