You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The source code position where error happend and console output:
@Injectable()exportclassFieldSupplementService{asyncgenerateSymmetricField(tableId: string,field: LinkFieldDto){// ...// lookup field id is the primary field of the table to which it is linkedconst{id: lookupFieldId}=awaitprisma.field.findFirstOrThrow({where: { tableId,isPrimary: true},select: {id: true},});// ...}}
prisma:error
Invalid `prisma.field.findFirstOrThrow()` invocation:An operation failed because it depends on one or more records that were required but not found. Expected a record, found none.ERROR (teable/1197): NotFoundError: No Field found... ...
The text was updated successfully, but these errors were encountered:
y-t99
changed the title
"Internal Server Error" when creating a table if the primary field is link field.
"Internal Server Error" when creating a table if fields contain link field.
Apr 9, 2024
y-t99
changed the title
"Internal Server Error" when creating a table if fields contain link field.
"Internal Server Error" when creating a table if fields only contain link field.
Apr 9, 2024
Describe the bug
"Internal Server Error" when creating a table if fields only contain link field.
To Reproduce
Steps to reproduce the behavior:
id: tblXxx
.creating table
api:Additional context
The source code position where error happend and console output:
The text was updated successfully, but these errors were encountered: