Alcadeus
CCConvex Community
•Created by Alcadeus on 9/11/2024 in #support-community
Bug when using convex auth with password
Not sure if this is a bug but when following the docs https://labs.convex.dev/auth/config/passwords#add-sign-in-form for using convex auth with passwords, but when doing a sign up via the sign in function, I am getting back an error about the providerID? It should be created right?
Uncaught Error: Uncaught Error: Index authAccounts.providerAndAccountId not found.
at createAccountFromCredentialsImpl (../../node_modules/@convex-dev/auth/dist/server/implementation/mutations/createAccountFromCredentials.js:26:34)
at storeImpl (../../node_modules/@convex-dev/auth/dist/server/implementation/mutations/index.js:93:8)
at handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:280:12)
at async createAccount (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:327:0)
at async authorize [as authorize] (../../node_modules/@convex-dev/auth/dist/providers/Password.js:52:20)
at async handleCredentials (../../node_modules/@convex-dev/auth/dist/server/implementation/signIn.js:102:19)
at async handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:245:20)
Uncaught Error: Uncaught Error: Index authAccounts.providerAndAccountId not found.
at createAccountFromCredentialsImpl (../../node_modules/@convex-dev/auth/dist/server/implementation/mutations/createAccountFromCredentials.js:26:34)
at storeImpl (../../node_modules/@convex-dev/auth/dist/server/implementation/mutations/index.js:93:8)
at handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:280:12)
at async createAccount (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:327:0)
at async authorize [as authorize] (../../node_modules/@convex-dev/auth/dist/providers/Password.js:52:20)
at async handleCredentials (../../node_modules/@convex-dev/auth/dist/server/implementation/signIn.js:102:19)
at async handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:245:20)
13 replies
CCConvex Community
•Created by Alcadeus on 9/8/2024 in #support-community
Convex Auth with OTPs for React-Native with Expo error with verificationRequest
Android Bundled 61ms node_modules/expo-router/entry.js (1 module)
ERROR [CONVEX A(auth:signIn)] [Request ID: 028a44069ad9e8f7] Server Error
Uncaught Error: Could not send
at sendVerificationRequest [as sendVerificationRequest] (../../convex/ResendOTP.ts:22:4)
at async handleEmailAndPhoneProvider (../../node_modules/@convex-dev/auth/dist/server/implementation/signIn.js:77:23)
at async handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:245:20)
Error: ENOENT: no such file or directory, open '/home/convex/ResendOTP.ts'
at Object.readFileSync (node:fs:441:20)
at getCodeFrame (/home/warmachine/convexship/node_modules/metro/src/Server.js:949:18)
at Server._symbolicate (/home/warmachine/convexship/node_modules/metro/src/Server.js:1026:22)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Server._processRequest (/home/warmachine/convexship/node_modules/metro/src/Server.js:419:7) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/convex/ResendOTP.ts'
}
Error: ENOENT: no such file or directory, open '/home/node_modules/@convex-dev/auth/dist/server/implementation/signIn.js'
at Object.readFileSync (node:fs:441:20)
at getCodeFrame (/home/warmachine/convexship/node_modules/metro/src/Server.js:949:18)
at Server._symbolicate (/home/warmachine/convexship/node_modules/metro/src/Server.js:1026:22)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Server._processRequest (/home/warmachine/convexship/node_modules/metro/src/Server.js:419:7) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/node_modules/@convex-dev/auth/dist/server/implementation/signIn.js'
}
Android Bundled 61ms node_modules/expo-router/entry.js (1 module)
ERROR [CONVEX A(auth:signIn)] [Request ID: 028a44069ad9e8f7] Server Error
Uncaught Error: Could not send
at sendVerificationRequest [as sendVerificationRequest] (../../convex/ResendOTP.ts:22:4)
at async handleEmailAndPhoneProvider (../../node_modules/@convex-dev/auth/dist/server/implementation/signIn.js:77:23)
at async handler (../../node_modules/@convex-dev/auth/dist/server/implementation/index.js:245:20)
Error: ENOENT: no such file or directory, open '/home/convex/ResendOTP.ts'
at Object.readFileSync (node:fs:441:20)
at getCodeFrame (/home/warmachine/convexship/node_modules/metro/src/Server.js:949:18)
at Server._symbolicate (/home/warmachine/convexship/node_modules/metro/src/Server.js:1026:22)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Server._processRequest (/home/warmachine/convexship/node_modules/metro/src/Server.js:419:7) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/convex/ResendOTP.ts'
}
Error: ENOENT: no such file or directory, open '/home/node_modules/@convex-dev/auth/dist/server/implementation/signIn.js'
at Object.readFileSync (node:fs:441:20)
at getCodeFrame (/home/warmachine/convexship/node_modules/metro/src/Server.js:949:18)
at Server._symbolicate (/home/warmachine/convexship/node_modules/metro/src/Server.js:1026:22)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at Server._processRequest (/home/warmachine/convexship/node_modules/metro/src/Server.js:419:7) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/home/node_modules/@convex-dev/auth/dist/server/implementation/signIn.js'
}
4 replies
CCConvex Community
•Created by Alcadeus on 2/25/2024 in #support-community
Error when running npx convex import --table tasks sampleData.jsonl
7 replies