error: HttpError: NOT NULL constraint failed: shares.created_at
-
After recent updates I am unable to generate share links anymore with the files I upload.
t 29 17:27:58 cubby:routes:shares createShare: /other uploads/pictures/_DSC2635.JPG receiver:link +876ms Oct 29 17:27:58 cubby:shares create: uid-e20b0e31-8bb7-4c2a-a579-4860069b7733 /other uploads/pictures/_DSC2635.JPG receiver:link readonly:true expiresAt:none +876ms Oct 29 17:27:58 { Oct 29 17:27:58 path: '/api/v1/shares', Oct 29 17:27:58 status: 500, Oct 29 17:27:58 error: HttpError: NOT NULL constraint failed: shares.created_at Oct 29 17:27:58 at MainError.toHttpError (file:///app/code/backend/mainerror.js:75:16) Oct 29 17:27:58 at createShare (file:///app/code/backend/routes/shares.js:165:38) Oct 29 17:27:58 at process.processTicksAndRejections (node:internal/process/task_queues:104:5) { Oct 29 17:27:58 status: 500, Oct 29 17:27:58 internalError: MainError: NOT NULL constraint failed: shares.created_at Oct 29 17:27:58 at Object.query (file:///app/code/backend/database.js:74:15) Oct 29 17:27:58 at Object.create (file:///app/code/backend/shares.js:146:20) Oct 29 17:27:58 at createShare (file:///app/code/backend/routes/shares.js:164:48) Oct 29 17:27:58 at process.processTicksAndRejections (node:internal/process/task_queues:104:5) { Oct 29 17:27:58 reason: 'Database Error', Oct 29 17:27:58 details: { code: 'SQLITE_CONSTRAINT_NOTNULL' }, Oct 29 17:27:58 nestedError: SqliteError: NOT NULL constraint failed: shares.created_at Oct 29 17:27:58 at execute (file:///app/code/backend/database.js:41:30) Oct 29 17:27:58 at Object.query (file:///app/code/backend/database.js:72:16) Oct 29 17:27:58 at Object.create (file:///app/code/backend/shares.js:146:20) Oct 29 17:27:58 at createShare (file:///app/code/backend/routes/shares.js:164:48) Oct 29 17:27:58 at process.processTicksAndRejections (node:internal/process/task_queues:104:5) { Oct 29 17:27:58 code: 'SQLITE_CONSTRAINT_NOTNULL' Oct 29 17:27:58 } -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login