Error codes and solutions for Token Plan API.
| HTTP status | Code | Description | Solution |
|---|---|---|---|
| 400 | MissingPeriod | CreateCreditSeat is missing Period. | Add Period with a value of at least 1. |
| 400 | MissingSeats | AddCreditSeats is missing Seats. | Add Seats with a value of at least 1. |
| 400 | MissingParameter | A required parameter is missing. | Add the required parameters described in the operation documentation. For seat purchase and modification, these include ProductCode, ProductType, SubscriptionType, and ClientToken. |
| 400 | InvalidParameter | A parameter value or format is invalid. | Check parameter types, values, and array formats, such as SubscriptionConfigs.1.Seats and Configs.1.Code. |
| — | NotAuthorized | The RAM user is not authorized to call the operation, or the caller UID does not match the resource owner. AccessDeniedDetail in the response provides caller information. | Grant the required permissions to the RAM user and make sure that the caller UID matches the resource owner. |
| 400 | NotApplicable | The caller site does not match the region of the API domain. | For seat purchase and modification, use business.ap-southeast-1.aliyuncs.com. |
| 403 | UnsupportedHTTPMethod | The HTTP method is not supported. | Use the HTTP method specified in the operation documentation. Seat purchase and modification operations use POST. |
| 404 | InvalidAction.NotFound | The action or version does not exist. | Check Action and Version. Seat operations use version 2023-09-30, and other operations use version 2026-02-10. |
| 404 | InvalidAccessKeyId.NotFound | The AccessKey does not exist. | Check whether the AccessKey ID is correct and whether it is disabled or deleted. |
| 400 | SignatureDoesNotMatch | The request signature does not match. | Use the SDK to generate the signature, and check the signing algorithm, parameter sorting, and encoding. |
| 500 | InternalError | The server failed to process the request. | Record the RequestId and retry. If the error persists, submit a ticket. |
| 200 | ORG-1003 | The system preset role does not exist. | Check RoleCode or NewRoleCode and use a preset role supported by the operation. |
| 200 | COMMON-1004 | OrgRoleCode is invalid. | Only ORG_ADMIN and ORG_MEMBER are supported. |
| 200 | INVITE-1003 | The invitation role is not allowed. | Check DefaultRoleId. |
| 200 | RESOURCE-1004 | The pagination parameters are invalid. | PageNo, PageNum, and PageSize must be greater than 0. |
| 200 | ASSIGN_SEAT_004 | No seat of the specified type is available. | Purchase or release a seat of that type and try again. |
| 200 | ASSIGN_SEAT_005 | The member has no seat to reclaim. | Confirm that a seat is assigned to the member. |
| 400 | MissingSsoSource | SsoSource is missing when you create an invite link. | Pass SAML or DINGTALK. |