ドキュメント

Unity Services Web APIs

Open Unity Dashboard

Unity Services Web APIs

Response status and error codes

Learn about HTTP response status codes and error codes returned by Unity Services Web APIs.
読み終わるまでの所要時間 11 分最終更新 3日前

This page describes the response status and error codes available with the Unity API.

Response codes

HTTP response status codes indicate whether a specific request has been successfully completed. When you send a request to an API endpoint, Unity returns one of the following responses:
  • 2xx
    to indicate your request succeeded.
  • 4xx
    to indicate your request failed.
  • 5xx
    to indicate an error with Unity's servers. To check that the service you want to reach is operational, go to the Unity Service Status page.

Error attributes

Error attributes include error information and related metadata such as links to related documentation.
  • title (string): A short summary of the problem type.
  • detail (string): A message providing more details about the error returned.
  • code (number): A number that identifies the error returned.
  • type (string): Returns a link to the documentation with more information.
  • status (number): A status code generated by the server.
  • requestId (string): The universally unique identifier (UUID) of your request.

Error codes

Depending on your original request, you can receive one of the following error codes:

Code

Status code

Error

Description

0500UnknownReturns an unknown error.
1500TransportErrorDNS, TLS, and other transport errors that return an invalid response.
2504TimeoutThe request timed out because no response was received in the time provided.
3503ServiceUnavailableThe service is unavailable or overloaded. Try again later.
4404ApiMissingThe API does not exist.
5500RequestRejectedThe request was rejected before reaching the API.
6502BadGatewayInvalid response received from the upstream server.
50429TooManyRequestsYou're making multiple requests too frequently. Make your requests at a lower rate.
51401InvalidTokenThe authentication token provided is invalid. Generate a new authentication token and try again.
52401TokenExpiredThe authentication token provided is expired. Generate a new authentication token and try again.
53403ForbiddenYou don't have permission to perform this operation.
54404NotFoundThe target resource couldn't be found.
55400InvalidRequestPart of the request is invalid.
56403NoPermissionYou don't have any permissions
57N/AUnprocessableEntityThe content type and syntax of your request is correct, but the instructions are unprocessable.
58N/AConflictThis request conflicts with the current state of the target resource.
59424Failed DependencyThe requested action can't be performed because a dependent action has failed.
60400MethodNotAllowedThe target resource doesn't support this request method.
61413PayloadTooLargeThe request entity is larger than the limits defined by the server.
62415UnsupportedMediaTypeThe payload format is not supported.
63403InvalidOrganizationEntitlementThe organization is not entitled to access the requested product. Happens when the organization has not purchased the license required to access it.
64403InvalidUserEntitlementThe user is not entitled to access the requested product. Happens when the user does not have the license seat required to access it.
44001404One of the accounts is not found.When setting add-on policies in bulk, if one of the specified accounts is not found, this error will be thrown. In case of the Service Account, it might not exist at all or might not belong to the organization. In case of the User, it might not exist or might be deleted.
44002404One of the roles is not foundHappens when setting add-on policies in bulk. One of the roles does not exist or has been deleted.
44003422One of the roles cannot be assigned to
{accountType}
Happens when setting add-on policies in bulk. One of the roles cannot be assigned to
{accountType}
.
44004422One of the roles is not of the entity type:
{entityType}
Happens when setting add-on policies in bulk if one of the roles specified in the payload is not of the entity type specified in the payload.
44005422One of the roles is not of the suite:
{suiteId}
Happens only if suiteId optional payload parameter is specified. Happens when setting add-on policies in bulk if one of the roles specified in the payload is not of the suite specified in the payload.
44006422This API only supports add-on rolesHappens when setting add-on policies in bulk if one of the roles specified in the payload is not an add-on role.
44007422The roles in
{suiteId}
suite must be mutually exclusive.
Happens when setting add-on policies in bulk. Happens if the payload contains multiple roles from the same suite and the roles in the suite are mutually exclusive.
44008409Policy for the provided role ids already exists.Happens when setting add-on policies in bulk. Happens if for some reason the policy for some of the provided role ids already exists.
44009404Specified role does not existHappens when adding a user to a project. Will happen when a specified role does not exist or has been deleted. This is an exceptional case and shouldn't happen if client sends the correct role name.
44010422None of the emails were successfully invited to the project.Happens when adding users to a project. Happens if none of the emails provided were successfully invited to the project. This can happen if each of the emails already exist as an individual grant in the project or is not associated with a Unity ID or failed to be invited on Genesis side.
44011422None of the emails were successfully invited to the organization.Happens when adding users to an organization. Happens if none of the emails provided were successfully invited to the organization. This can happen if each of the emails already has access to the organization or failed to be invited on Genesis side.
44012422Some of the users were not found.Happens when assigning users to a custom group. Happens if the user does not exist, is deleted, or does not have user, manager, or owner role in the organization.
44013422User type cannot be updated to
{roleName}
role for this user.
User's current organization role is higher than the target role, or you lack the permissions to make this change.
44014422Members API does not support removing project group policies.Happens when trying to remove a user from a project who was added to it via project group and does not have direct baseline role in the project. Old project members page or Groups API should be used to remove groups from projects.
44015400You are trying to transfer the project to the same organization.Happens when trying to transfer a project to the same organization.
44016422The organization that you are transferring the project to is locked. Please contact customer support to unlock the organization.Happens when trying to transfer a project to an organization locked by the ads fraud check. The organization needs to be unlocked before the project can be transferred.
44017403You must be either a manager or an owner in both organizations in order to transfer the project.Happens when trying to transfer a project to another organization while not having a sufficient role in one or both of the organizations. The user must be either a manager or an owner in both organizations in order to transfer the project.
44018422The project has service account(s) attached to it:
{list of accounts}
. Please visit Administration -> Service accounts page to remove the associated roles from this project.
Happens when trying to transfer a project to another organization while the project has service account(s) attached to it. The service account(s) must be removed from the project before the project can be transferred.
44019401The user is deleted but the user token is not invalidated yet.Happens when the user account is deleted but the user token has not been removed yet.
44020409A service account with the name already exists within the same organization.Happens during an attempt of service account creation or modification when the name already exists within same organization Id.
44021409A group with the name already exists within the same organization.Happens during an attempt of group creation or modification when the name already exists within same organization Id.
44022404Project does not exist.Happens when required project does not exist or has been deleted.
44023422Project has been archived.Happens when required project has been archived.
44024404Organization does not exist.Happens when required organization does not exist or has been deleted.
44025404One or more groups could not be found.Happens when required one or more groups do not exist or have been deleted.
44026409Group is already assigned.Happens when a group has been assigned.
44027422Project must be archived before deletion.Happens when trying to delete a project that is not archived. The project must be archived before it can be deleted.
44028404Entity does not exist.Happens when required entity does not exist or has been deleted.
44029404Role does not exist.Happens when required role does not exist or has been deleted.
44030404Service account does not exist.Happens when required service account does not exist or has been deleted.
44031404User does not exist.Happens when required user does not exist or has been deleted.
44032401User must be authenticated.Happens when required user is not authenticated.
44033409Invitation limit exceeded.Happens when inviting users and the action would exceed the limit of pending invites in the organization.
44034404Invite does not exist.Happens when required invite does not exist, has been deleted, expired or was already accepted.
44035422Assets must be deleted before project deletion.Happens when trying to delete a project which contains assets in Asset Manager.
44036424Notification could not be sentHappens when sending a notification fails due to a dependency failure.
44037422Required App User Role is missingHappens when editing app add-on roles for a user without the App User Role.
44038424Failed DependencyFailed to assign user to guest group in Genesis. The user has been removed from the organization but could not be assigned to the guest group.
44039404Cannot create policies for some entitiesSome of the policies are for entities that do not exist, are not within the organization, or have been filtered out by the entityType or entityIds query parameters.
44040422Every user must own at least one organization.Happens when removing a member or changing their organization role would leave that user without ownership of any organization. Transfer ownership of the organization first, or keep the user as an owner.
44042403Cannot create policy for yourselfHappens when attempting to create a policy for yourself.
44043400Cannot create policies with roleIds outside the filterSome of the policies have roleIds that do not match the roleId filter parameter.
44044429Invitation creation limit exceededHappens when creating these invitations would exceed the maximum number of invitations that can be created for the organization within the allowed time period.
44046422The project has linked app(s) and cannot be transferred. Please remove the apps from the project before transferring it.Happens when trying to transfer a project that has app(s) linked to it. Remove or archive the apps linked to the project before transferring it.
44047422The project has linked app(s) and cannot be archived. Please remove the apps from the project before archiving it.Happens when trying to archive a project that has app(s) linked to it. Remove or archive the apps linked to the project before archiving it.
44048400Insufficient permissions to attach groups to the invite.Happens when creating an organization invitation with groups attached while the caller lacks permission to manage group members in the organization. Create the invitation without groups, or ask an organization owner or manager to add the groups.
48103402Organization usage has exceeded the quota.Happens when the organization usage has exceeded the quota. User needs to add an appropriate license to continue using the service.
48104402User has been assigned an incorrect seat.Happens when the user has been assigned an incorrect or no seat. The user needs to obtain the correct seat to continue using the service.
48400403The user has no administrator rights to any UVCS organization, or the organizations are read-only.Happens when the user configuring the UVCS integration has no administrator rights to any UVCS organization, or the organizations are read-only.
48401403The UVCS organization is currently read-only.Happens when the UVCS organization is currently read-only.
48402403The user has no administrator rights to the UVCS organization.Happens when the user that configured the UVCS integration has no administrator rights to the UVCS organization.
48403409The UVCS integration is in use.Happens when the UVCS integration is in use by one or more datasets.
48504500The Storage service failed to process the request.Happens when the Storage service could not process the request due to an unexpected server error.
48505422The inviter must have an equivalent or superior baseline role when inviting users.Happens when a user tries to invite a new member and assign them a higher role than their own.