fix: improve embed error messages (#2752)

This commit is contained in:
David Nguyen
2026-05-01 14:24:42 +10:00
committed by GitHub
parent c428170b5c
commit e19b1d00d0
2 changed files with 22 additions and 3 deletions
@@ -46,7 +46,8 @@ export const createEmbeddingPresignTokenRoute = procedure
if (!organisationClaim.flags.embedAuthoring) {
throw new AppError(AppErrorCode.UNAUTHORIZED, {
message: 'You do not have permission to create embedding presign tokens',
message:
'Embedded Authoring is not included in your current plan. Please contact support.',
});
}
}