Skip to content

applying a resource throws an error if no variables are set #878

@adityachoudhari26

Description

@adityachoudhari26
All attempts fail:
#1: failed to update resource variables: {"message":"Internal server error: values() must be called with at least one value","code":"INTERNAL_ERROR","details":"Error: values() must be called with at least one value\n    at PgInsertBuilder.values (file:///app/node_modules/drizzle-orm/pg-core/query-builders/insert.js:30:13)\n    at file:///app/apps/api/dist/src/routes/v1/workspaces/resources.js:111:50\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async NodePgSession.transaction (file:///app/node_modules/drizzle-orm/node-postgres/session.js:142:22)\n    at async updateVariablesForResource (file:///app/apps/api/dist/src/routes/v1/workspaces/resources.js:107:5)"}

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions