loading
Preparing LoginRadius developer resources
Mission: Help enterprises accelerate digital transformation with our fully-managed Customer IAM technology.
Skip to main content

LoginRadius Partner Identity API Codes

This section details the LoginRadius Partner Identity API codes and some suggestions on how to resolve them.

HTTP Error Response Structure:

{
"Description": {{String}},
"ErrorCode": {{Integer}},
"Message": {{String}},
"IsProviderError": {{Boolean}},
"ProviderErrorResponse": {{String or NULL}}
}

HTTP Response Descriptions:

HTTP CodeMessageDescription
200OKThe API was accessed successfully.
400Bad RequestVerify that the API endpoint you are accessing is correctly formatted and has all the required parameters.
401UnauthorizedVerify your LoginRadius API key and secret, also verify that your access token has not expired.
403ForbiddenVerify all parameters are correctly formatted and the API endpoint is correct.
404Not FoundThe API endpoint is not correct or your account does not have sufficient permissions to access this endpoint.
405Method not allowedVerify that you are accessing the API endpoint with the correct format (ie. Get or Post)
429Too Many RequestResponse status code indicates the user has sent too many requests in a given amount of time (i.e. rate limiting)
500Internal Server ErrorSomething has gone wrong with the processing of the request, check your server error logs and contact us if the error persists.

LoginRadius Partner Error Response Descriptions:

Error CodeError MessageDescriptionHTTP CodeTrigger / Applicable Scenario
908A parameter is not formatted correctlyDynamic - describes the specific missing/invalid field400A required value is missing or in an invalid format for the specific field named in the description.
1267B2B feature is not enabled or not configured properlyThe B2B feature is not enabled or configured for your app. Please contact LoginRadius support for more information.403The tenant does not have the B2B Identity feature enabled, blocking access to any B2B route.
1269Invalid provider in organizationThe specified provider is not valid or not configured for this organization. Please check your configuration.400During a custom-IDP login: the provider identifier in the login callback doesn't have the expected format.
1271Signup not allowed in organizationUser signup is restricted for this organization.403A first-time login through an org connection with Just-In-Time provisioning enabled is rejected because neither the organization nor the app has a default member role configured to assign to the new user.
2065Email domain not allowed in organization connectionThe email domain used is not allowed for this organization connection. Please use an valid domain.403During Just-In-Time auto-provisioning on an org connection login, the authenticated user's email domain doesn't match the domain configured on that connection, or no email was returned by the identity provider at all.
6002Access UnauthorizedAccess Unauthorized, please use valid authorization to access this endpoint.403The caller's authentication/authorization does not permit access.
6003Trial plan expiredThe trial plan has expired. To continue using the service, please contact support.403The app's trial plan has expired.
7900A parameter is not formatted correctly.Dynamic - overridden per scenario400A field fails a specific format or structural validation rule.
7914Post body is invalidPlease use a valid post body in JSON format.400A create request's body is missing, empty, or not valid JSON.
7934Put body is invalid or emptyPlease use a valid put body in JSON format in order to process this request.400An update request's body is missing, empty, or not valid JSON.
8044Invalid BodyBodyType is selected as JSON, but the Body doesn't contain valid JSON data. Please input valid JSON data.400The request body is present but cannot be parsed into the expected structure.
8045Email is missingCannot assign role to the user in the organization because the email is not available for the user. Please provide a valid uid.400The user has no primary or default email on file, which is required before an organization role can be assigned.
8116Organization exists with the same nameOrganization exists with the same name. Use a different organization name.409Another organization already uses the requested name, when creating or renaming an organization.
8117Organization ID is invalidThis Organization ID is invalid, please use valid Organization ID.400A supplied organization id is in an invalid format.
8118Organization not foundThe entered organization or its configuration does not exist.404No organization exists for the given id.
8119Invalid permission idInvalid permission id, Please provide valid permission id.400A supplied permission id is in an invalid format, or does not correspond to an existing permission.
8121Permission does not existPermission does not exist, Please provide valid permission id.404The additional-permission record targeted for removal does not exist for this user/organization combination.
8122Permission id is requiredPermission id is required, Please provide permission id.400A permission id was expected but not supplied.
8123Duplicate role nameDuplicate role name, Please provide valid role name.409A role with the requested name already exists, when creating or renaming a role.
8124Invalid role idInvalid role id, Please provide valid role id.400Role id is not in the expected format.
8125Role does not existRole does not exist, Please provide valid role id.404The role id does not correspond to an existing role.
8126Role id is requiredRole id is required, Please provide role id.400A role id was expected but not supplied.
8127Role name is requiredRole name is required, Please provide role name.400A role name was expected but not supplied.
8128Default role cannot be deletedDefault role cannot be deleted, Please provide valid role id.403A delete request targets a role that is configured as the default/member role for the app or organization.
8129Organization id is requiredOrganization id is required, Please provide organization id.400An organization id was expected but not supplied.
8130User role already existsUser role already exists, Please provide valid role id.409The user is already assigned one or more of the roles being granted.
8131User id is requiredUser id is required, Please provide user id.400A user id was expected but not supplied.
8132User does not existUser does not exist, Please provide valid user id.404The supplied user id does not correspond to an existing identity.
8135User not found in organizationUser not found in organization, Please provide valid user id.404The user has no role assignments within the specified organization.
8137Invalid emailInvalid email, Please provide valid email.400The invitee's email address fails format validation.
8142Role does not belong to organizationRole does not belong to organization, Please provide valid role id.403One or more roles assigned to a user in an organization are not valid tenant/org roles for that organization.
8143Role does not belong to tenantRole does not belong to tenant, Please provide valid role id.403A role referenced as tenant-level does not exist at the tenant level.
8148Connection exists with the same nameConnection exists with the same name. Use a different Connection name.409Another connection on the organization already uses the requested name, when creating or renaming a connection.
8149Domain exists with another connectionThe domain is associated with a different connection. Please use a different organization domain.409The requested domain is already bound to a different connection on the organization.
8150Domain does not exist within the organizationThe provided domain is not associated with the organization. Please use a different organization domain.404A connection create/update references a domain that is not registered on the organization.
8151Connection ID is invalidThis Connection ID is invalid, please use valid Connection ID.400A supplied connection id is in an invalid format, or does not match any connection on the organization.
8152Connection config is invalidDynamic - names the missing required field(s)400The connection's type-specific configuration (e.g. SAML/OIDC settings) is missing one or more required fields, typically discovered when activating the connection.
8154Domain ID is invalidThis Domain ID is invalid, please use valid Domain ID.400A supplied domain id is in an invalid format, or does not correspond to any domain record.
8156Domain already verifiedThis Organization domain is already verified400A verification request targets a domain that is already marked verified.
8157Domain exists with the same nameDomain exists with the same name. Use a different Domain name.409The domain name being added already exists in the organization.
8159Organization member role is invalidThis Organization member role is invalid, please use valid Organization member role400An organization policy update sets a default member role that does not exist for the tenant or organization.
8160Organization MFA enforcement not allowedOrganization MFA enforcement can not be enabled because MFA is disabled for the tenant. (message varies by scenario)403An organization policy update requests an MFA enforcement mode that conflicts with the tenant's MFA configuration: requiring something other than mandatory enforcement when the tenant mandates MFA; disabling enforcement while the tenant requires MFA; requesting mandatory enforcement with no MFA method enabled for the tenant; or requesting any non-"none" enforcement when the tenant has no MFA enabled at all.
8161GroupRole exists with the same nameConnection GroupRole exists with the same name. Use a Connection GroupRole name.409Another group-role mapping on the connection already uses the requested name.
8162GroupRole exists with the same GroupIdConnection GroupRole exists with the same GroupId. Use a different GroupRole GroupId.409Another group-role mapping on the connection already uses the requested external group identifier.
8163GroupRole ID not existThis GroupRole ID is not exist, Please use a valid GroupRole ID.404The group-role id supplied for an update does not correspond to an existing mapping on the connection.
8164GroupRole ID is invalidThis GroupRole ID is invalid, Please use a valid GroupRole ID.400A supplied group-role id is in an invalid format.
8166Status already updatedStatus already updated, Please provide valid status.409The requested active/inactive status already matches the current status of the organization or connection being updated.
8167Status update is invalidStatus update is invalid, Please provide valid status.400A status-update request did not include the required active/inactive flag.
8168Failed to fetch Domain TXT recordUnable to fetch the Domain TXT record. Please ensure the domain is valid and correctly configured.400The DNS TXT record lookup performed while verifying a domain failed.
8169Invitation not foundInvitation not found, Please provide valid invitation id.404No invitation record matches the given id.
8170User already exist in an organizationUser already exist in an organization, Please provide correct email id.409An identity already exists for the invited email and already holds role assignments in the target organization.
8171invitation is activeInvitation is already active, Can not send the invite again.400An unexpired, unused invitation already exists for the same organization/email combination.
8173Invitation token is not validInvitation token is not valid, this invitation either accepted, expired or revoked.400A social/OIDC/SAML login carrying a pending org-invitation token is rejected because the token doesn't resolve to a usable invitation, or (on first login) the authenticated identity's email doesn't match the invited email address.
8174Inviter uid invalid or inviter does not exist/activeInviter uid invalid or inviter does not exist/active, Please provide the valid inviter uid.400The inviter's identity cannot be resolved or is inactive.
8175The invitation id/token is invalidThe invitation id is invalid. Please enter a valid invitation id. (message varies by scenario)400The invitation identifier is in an invalid format, or the invitation is in a state that makes it unusable.
8176The Invitation URL is invalidThe Invitation is invalid, please whitelist the url.400The redirect URL supplied with the invitation is not on the app's allow-list.
8177Organization domain is not verifiedOrganization domain is not verified, Please verify the domain.403A connection create/update references a domain that exists on the organization but has not completed verification.
8178Organization domain can not be deletedOrganization domain can not be deleted, domain is currently being used in a connection.403A domain removal is rejected because the domain is currently referenced by an active connection.
8180Organization is not activeThis organization is currently inactive. Please activate it before performing any further actions.403The organization exists but has been deactivated.
8181JIT policy not allowed in organizationJust-In-Time (JIT) provisioning is not allowed because there are no active connections configured for this organization. Please check your organization settings.403An update tries to enable Just-In-Time provisioning on an organization that has no active connections.
8204Usage limit for this resource has been exceeded.The usage limit for this resource has been exceeded. Please contact LoginRadius team for assistance.403The tenant or organization has reached its configured plan limit - for organizations, connections, domains, roles, or group roles - or an update supplies more domains than the organization's configured domain limit allows.
8223Duplicate additional permissionThis Additional permission already exists for this user in the org. Please provide a different additional permission.409The permission being granted is already assigned to this user within this organization.
8225Maximum number of SCIM directory tokens reachedThe organization SCIM directory already has the maximum number of tokens. Please delete an existing token before creating a new one.400The SCIM directory already holds the maximum number of active tokens allowed.
8226At least one SCIM directory token is requiredAt least one SCIM directory token must remain active. The last token cannot be deleted.400Deleting the requested token would leave the SCIM directory with zero active tokens, which is not allowed.
8227SCIM directory already configured for this organizationThis organization already has an active SCIM directory configured.409The organization already has a SCIM directory, and a second one is being created (an org may have only one).
8228SCIM directory not found for this organizationThis organization already has an active SCIM directory configured.409No SCIM directory has been configured yet for the organization, and an operation (read, update, delete, or token management) requires one.
8229SCIM directory token ID is requiredA valid SCIM directory token ID must be provided to perform this operation.400A SCIM directory token id was expected but not supplied.
8230Site is not configured for SCIMRequest couldn't be processed, SCIM feature is not enabled for this site.403The tenant does not have the SCIM feature enabled, blocking access to SCIM directory management routes.
8231Name field is not allowed to updateName field is not allowed to update. Please use the same name value in update request.400On a non-B2B-enabled app, an update attempts to change the name of an existing tenant-level role, which is immutable in that context.
8232SCIM directory token not foundThe requested SCIM directory token does not exist.404The token id supplied for deletion does not correspond to an existing token on the directory.
8233Role name with reserved prefix cannot be deletedRole names starting with lr: are reserved for internal roles and cannot be deleted.403A delete targets a role whose name uses the reserved internal prefix.
8235Role name with reserved prefix cannot be updatedRole names starting with lr: are reserved for internal roles and cannot be updated.403An update targets a role whose name uses the reserved internal prefix.