Skip to content

[Bug] Error with multiple fields based ID #438

@Azzerty23

Description

@Azzerty23

Description and expected behavior
I'm trying to set up a rest flavor api with NextAuth and I encountered this error: An unhandled error occurred: Error: model verificationToken does not have an id field

Screenshots
Capture d’écran 2023-05-29 à 16 03 28

Environment (please complete the following information):

  • ZenStack version: [e.g., 1.0.0-alpha.119]
  • Prisma version: [e.g., 4.12.0]
  • Database type: [e.g. Postgresql]

Additional context
I'm trying to use NextAuth with normal setup : https://authjs.dev/reference/adapter/prisma#create-the-prisma-schema-from-scratch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions