400 · BAD_REQUEST
Plan state does not allow a port-in
This user's plan is not in a state that allows a port-in, so no port-in was created.
When it occurs
A port-in is requested for a user whose plan is not in one of the states a port-in accepts.
What to do
currentState is the state the plan is in and requiredStates lists the states a port-in accepts.
Extension members
currentStatestring, one of INACTIVE, PROVISIONING, PORTING, PORTING_FAILED, ACTIVE, TERMINATING, TERMINATING_WITH_DELETIONThe state the user's plan is in.
Example:
"ACTIVE"requiredStatesarray of string, one of INACTIVE, PROVISIONING, PORTING, PORTING_FAILED, ACTIVE, TERMINATING, TERMINATING_WITH_DELETIONThe plan states a port-in accepts.
Example:
["INACTIVE","PORTING"]
Returned by
- POST /v1/port-insSubmit a port-in request
Type
https://developer.telgea.com/errors/number-service/PORT_IN_PLAN_STATE_INVALID