Skip to content

Commit cfd7e25

Browse files
committed
fix(billing): clarify ambiguous license error
1 parent 03a9803 commit cfd7e25

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

server/src/internal/billing/v2/actions/attach/errors/handleLicenseErrors/handleDroppedLicenseErrors.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ export const handleDroppedLicenseErrors = ({
3636
throw new RecaseError({
3737
message:
3838
`License changes conflict with active license assignments: ` +
39-
`${used} assigned for ${licensePlanId}, but the licenses in group "${group}" ` +
40-
"are not a 1:1 match on the incoming plan. Release licenses first.",
39+
`${used} assigned for ${licensePlanId}, but Autumn cannot determine which ` +
40+
`incoming license should receive them in group "${group}". Release the ` +
41+
"assignments first, or configure a single matching license for that group.",
4142
code: ErrCode.InvalidRequest,
4243
statusCode: 400,
4344
});

0 commit comments

Comments
 (0)