398 lines
17 KiB
Plaintext
398 lines
17 KiB
Plaintext
[2026-06-01T06:59:45.525Z] 500 ERROR on PATCH /followups/ca96fb96-a274-452b-b850-c9e20c0c57bd
|
|
Error:
|
|
Invalid `this.prisma.followup.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:53
|
|
|
|
171 // Fetch current state before update to detect reassignment
|
|
172 const existing = await this.prisma.followup.findUnique({ where: { id } });
|
|
173
|
|
→ 174 const followup = await this.prisma.followup.update({
|
|
where: {
|
|
id: "ca96fb96-a274-452b-b850-c9e20c0c57bd"
|
|
},
|
|
data: {
|
|
status: "DONE",
|
|
demoPersonName: "Binu",
|
|
demoContactDetails: "8568595623",
|
|
keyQueries: "",
|
|
competitorMention: "",
|
|
customerFeedback: "no remarks",
|
|
~~~~~~~~~~~~~~~~
|
|
requirementDetails: "nothing much",
|
|
suggestions: "no",
|
|
budget: "55000",
|
|
expectedClosingTimeline: "2",
|
|
competitorInfo: "no",
|
|
staffRemarks: "friendly customer",
|
|
customerCommitments: "nothing",
|
|
caCsDetails: "no",
|
|
? id?: String | StringFieldUpdateOperationsInput,
|
|
? date?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? notes?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? createdAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? updatedAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? contentType?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? stage?: followup_stage | Enumfollowup_stageFieldUpdateOperationsInput,
|
|
? objections?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? type?: activity_type | Enumactivity_typeFieldUpdateOperationsInput,
|
|
? client?: ClientUpdateOneRequiredWithoutFollowupsNestedInput,
|
|
? enquiry?: EnquiryUpdateOneWithoutFollowupsNestedInput,
|
|
? opportunity?: OpportunityUpdateOneWithoutActivitiesNestedInput,
|
|
? user?: UserUpdateOneRequiredWithoutFollowupsNestedInput
|
|
},
|
|
include: {
|
|
user: true,
|
|
client: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `customerFeedback`. Available options are marked with ?.
|
|
Stack: PrismaClientValidationError:
|
|
Invalid `this.prisma.followup.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:53
|
|
|
|
171 // Fetch current state before update to detect reassignment
|
|
172 const existing = await this.prisma.followup.findUnique({ where: { id } });
|
|
173
|
|
→ 174 const followup = await this.prisma.followup.update({
|
|
where: {
|
|
id: "ca96fb96-a274-452b-b850-c9e20c0c57bd"
|
|
},
|
|
data: {
|
|
status: "DONE",
|
|
demoPersonName: "Binu",
|
|
demoContactDetails: "8568595623",
|
|
keyQueries: "",
|
|
competitorMention: "",
|
|
customerFeedback: "no remarks",
|
|
~~~~~~~~~~~~~~~~
|
|
requirementDetails: "nothing much",
|
|
suggestions: "no",
|
|
budget: "55000",
|
|
expectedClosingTimeline: "2",
|
|
competitorInfo: "no",
|
|
staffRemarks: "friendly customer",
|
|
customerCommitments: "nothing",
|
|
caCsDetails: "no",
|
|
? id?: String | StringFieldUpdateOperationsInput,
|
|
? date?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? notes?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? createdAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? updatedAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? contentType?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? stage?: followup_stage | Enumfollowup_stageFieldUpdateOperationsInput,
|
|
? objections?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? type?: activity_type | Enumactivity_typeFieldUpdateOperationsInput,
|
|
? client?: ClientUpdateOneRequiredWithoutFollowupsNestedInput,
|
|
? enquiry?: EnquiryUpdateOneWithoutFollowupsNestedInput,
|
|
? opportunity?: OpportunityUpdateOneWithoutActivitiesNestedInput,
|
|
? user?: UserUpdateOneRequiredWithoutFollowupsNestedInput
|
|
},
|
|
include: {
|
|
user: true,
|
|
client: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `customerFeedback`. Available options are marked with ?.
|
|
at wn (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:29:1363)
|
|
at $n.handleRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6958)
|
|
at $n.handleAndLogRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6623)
|
|
at $n.request (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6307)
|
|
at async l (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:130:9633)
|
|
at async FollowupsService.update (C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:26)
|
|
|
|
[2026-06-01T07:00:03.225Z] 500 ERROR on PATCH /followups/ca96fb96-a274-452b-b850-c9e20c0c57bd
|
|
Error:
|
|
Invalid `this.prisma.followup.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:53
|
|
|
|
171 // Fetch current state before update to detect reassignment
|
|
172 const existing = await this.prisma.followup.findUnique({ where: { id } });
|
|
173
|
|
→ 174 const followup = await this.prisma.followup.update({
|
|
where: {
|
|
id: "ca96fb96-a274-452b-b850-c9e20c0c57bd"
|
|
},
|
|
data: {
|
|
status: "DONE",
|
|
demoPersonName: "Binu",
|
|
demoContactDetails: "8568595623",
|
|
keyQueries: "",
|
|
competitorMention: "",
|
|
customerFeedback: "no remarks",
|
|
~~~~~~~~~~~~~~~~
|
|
requirementDetails: "nothing much",
|
|
suggestions: "no",
|
|
budget: "55000",
|
|
expectedClosingTimeline: "2",
|
|
competitorInfo: "no",
|
|
staffRemarks: "friendly customer",
|
|
customerCommitments: "nothing",
|
|
caCsDetails: "no",
|
|
? id?: String | StringFieldUpdateOperationsInput,
|
|
? date?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? notes?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? createdAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? updatedAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? contentType?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? stage?: followup_stage | Enumfollowup_stageFieldUpdateOperationsInput,
|
|
? objections?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? type?: activity_type | Enumactivity_typeFieldUpdateOperationsInput,
|
|
? client?: ClientUpdateOneRequiredWithoutFollowupsNestedInput,
|
|
? enquiry?: EnquiryUpdateOneWithoutFollowupsNestedInput,
|
|
? opportunity?: OpportunityUpdateOneWithoutActivitiesNestedInput,
|
|
? user?: UserUpdateOneRequiredWithoutFollowupsNestedInput
|
|
},
|
|
include: {
|
|
user: true,
|
|
client: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `customerFeedback`. Available options are marked with ?.
|
|
Stack: PrismaClientValidationError:
|
|
Invalid `this.prisma.followup.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:53
|
|
|
|
171 // Fetch current state before update to detect reassignment
|
|
172 const existing = await this.prisma.followup.findUnique({ where: { id } });
|
|
173
|
|
→ 174 const followup = await this.prisma.followup.update({
|
|
where: {
|
|
id: "ca96fb96-a274-452b-b850-c9e20c0c57bd"
|
|
},
|
|
data: {
|
|
status: "DONE",
|
|
demoPersonName: "Binu",
|
|
demoContactDetails: "8568595623",
|
|
keyQueries: "",
|
|
competitorMention: "",
|
|
customerFeedback: "no remarks",
|
|
~~~~~~~~~~~~~~~~
|
|
requirementDetails: "nothing much",
|
|
suggestions: "no",
|
|
budget: "55000",
|
|
expectedClosingTimeline: "2",
|
|
competitorInfo: "no",
|
|
staffRemarks: "friendly customer",
|
|
customerCommitments: "nothing",
|
|
caCsDetails: "no",
|
|
? id?: String | StringFieldUpdateOperationsInput,
|
|
? date?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? notes?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? createdAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? updatedAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? contentType?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? stage?: followup_stage | Enumfollowup_stageFieldUpdateOperationsInput,
|
|
? objections?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? type?: activity_type | Enumactivity_typeFieldUpdateOperationsInput,
|
|
? client?: ClientUpdateOneRequiredWithoutFollowupsNestedInput,
|
|
? enquiry?: EnquiryUpdateOneWithoutFollowupsNestedInput,
|
|
? opportunity?: OpportunityUpdateOneWithoutActivitiesNestedInput,
|
|
? user?: UserUpdateOneRequiredWithoutFollowupsNestedInput
|
|
},
|
|
include: {
|
|
user: true,
|
|
client: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `customerFeedback`. Available options are marked with ?.
|
|
at wn (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:29:1363)
|
|
at $n.handleRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6958)
|
|
at $n.handleAndLogRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6623)
|
|
at $n.request (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6307)
|
|
at async l (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:130:9633)
|
|
at async FollowupsService.update (C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:26)
|
|
|
|
[2026-06-01T07:01:05.920Z] 500 ERROR on PATCH /followups/ca96fb96-a274-452b-b850-c9e20c0c57bd
|
|
Error:
|
|
Invalid `this.prisma.followup.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:53
|
|
|
|
171 // Fetch current state before update to detect reassignment
|
|
172 const existing = await this.prisma.followup.findUnique({ where: { id } });
|
|
173
|
|
→ 174 const followup = await this.prisma.followup.update({
|
|
where: {
|
|
id: "ca96fb96-a274-452b-b850-c9e20c0c57bd"
|
|
},
|
|
data: {
|
|
status: "DONE",
|
|
demoPersonName: "Binu",
|
|
demoContactDetails: "8568595623",
|
|
keyQueries: "",
|
|
competitorMention: "",
|
|
customerFeedback: "no remarks",
|
|
~~~~~~~~~~~~~~~~
|
|
requirementDetails: "nothing much",
|
|
suggestions: "no",
|
|
budget: "55000",
|
|
expectedClosingTimeline: "2",
|
|
competitorInfo: "no",
|
|
staffRemarks: "friendly customer",
|
|
customerCommitments: "nothing",
|
|
caCsDetails: "no",
|
|
? id?: String | StringFieldUpdateOperationsInput,
|
|
? date?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? notes?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? createdAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? updatedAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? contentType?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? stage?: followup_stage | Enumfollowup_stageFieldUpdateOperationsInput,
|
|
? objections?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? type?: activity_type | Enumactivity_typeFieldUpdateOperationsInput,
|
|
? client?: ClientUpdateOneRequiredWithoutFollowupsNestedInput,
|
|
? enquiry?: EnquiryUpdateOneWithoutFollowupsNestedInput,
|
|
? opportunity?: OpportunityUpdateOneWithoutActivitiesNestedInput,
|
|
? user?: UserUpdateOneRequiredWithoutFollowupsNestedInput
|
|
},
|
|
include: {
|
|
user: true,
|
|
client: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `customerFeedback`. Available options are marked with ?.
|
|
Stack: PrismaClientValidationError:
|
|
Invalid `this.prisma.followup.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:53
|
|
|
|
171 // Fetch current state before update to detect reassignment
|
|
172 const existing = await this.prisma.followup.findUnique({ where: { id } });
|
|
173
|
|
→ 174 const followup = await this.prisma.followup.update({
|
|
where: {
|
|
id: "ca96fb96-a274-452b-b850-c9e20c0c57bd"
|
|
},
|
|
data: {
|
|
status: "DONE",
|
|
demoPersonName: "Binu",
|
|
demoContactDetails: "8568595623",
|
|
keyQueries: "",
|
|
competitorMention: "",
|
|
customerFeedback: "no remarks",
|
|
~~~~~~~~~~~~~~~~
|
|
requirementDetails: "nothing much",
|
|
suggestions: "no",
|
|
budget: "55000",
|
|
expectedClosingTimeline: "2",
|
|
competitorInfo: "no",
|
|
staffRemarks: "friendly customer",
|
|
customerCommitments: "nothing",
|
|
caCsDetails: "no",
|
|
? id?: String | StringFieldUpdateOperationsInput,
|
|
? date?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? notes?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? createdAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? updatedAt?: DateTime | DateTimeFieldUpdateOperationsInput,
|
|
? contentType?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? stage?: followup_stage | Enumfollowup_stageFieldUpdateOperationsInput,
|
|
? objections?: String | NullableStringFieldUpdateOperationsInput | Null,
|
|
? type?: activity_type | Enumactivity_typeFieldUpdateOperationsInput,
|
|
? client?: ClientUpdateOneRequiredWithoutFollowupsNestedInput,
|
|
? enquiry?: EnquiryUpdateOneWithoutFollowupsNestedInput,
|
|
? opportunity?: OpportunityUpdateOneWithoutActivitiesNestedInput,
|
|
? user?: UserUpdateOneRequiredWithoutFollowupsNestedInput
|
|
},
|
|
include: {
|
|
user: true,
|
|
client: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `customerFeedback`. Available options are marked with ?.
|
|
at wn (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:29:1363)
|
|
at $n.handleRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6958)
|
|
at $n.handleAndLogRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6623)
|
|
at $n.request (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6307)
|
|
at async l (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:130:9633)
|
|
at async FollowupsService.update (C:\ignosidev\Igcrm\apps\api\src\followups\followups.service.ts:174:26)
|
|
|
|
[2026-06-09T06:21:07.186Z] 500 ERROR on PATCH /products/02cb5871-795c-419f-99f8-6710f77274e9
|
|
Error:
|
|
Invalid `this.prisma.product.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\products\products.service.ts:45:32
|
|
|
|
42 await this.prisma.productAddon.deleteMany({ where: { productId: id } });
|
|
43 }
|
|
44
|
|
→ 45 return this.prisma.product.update({
|
|
where: {
|
|
id: "02cb5871-795c-419f-99f8-6710f77274e9"
|
|
},
|
|
data: {
|
|
name: "Nidhi",
|
|
description: "Nidhi is a software for Nidhi companies",
|
|
price: 35000,
|
|
maxDiscountPercentage: 15,
|
|
schemes: {
|
|
create: [
|
|
{
|
|
name: "with branch",
|
|
price: 45000,
|
|
features: "",
|
|
brochureUrl: null,
|
|
maxDiscountPercentage: 100,
|
|
productId: "02cb5871-795c-419f-99f8-6710f77274e9",
|
|
createdAt: "2026-06-04T05:31:55.630Z",
|
|
updatedAt: "2026-06-04T05:31:55.630Z"
|
|
}
|
|
]
|
|
},
|
|
addons: undefined
|
|
},
|
|
include: {
|
|
schemes: true,
|
|
addons: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `productId`. Available options are marked with ?.
|
|
Stack: PrismaClientValidationError:
|
|
Invalid `this.prisma.product.update()` invocation in
|
|
C:\ignosidev\Igcrm\apps\api\src\products\products.service.ts:45:32
|
|
|
|
42 await this.prisma.productAddon.deleteMany({ where: { productId: id } });
|
|
43 }
|
|
44
|
|
→ 45 return this.prisma.product.update({
|
|
where: {
|
|
id: "02cb5871-795c-419f-99f8-6710f77274e9"
|
|
},
|
|
data: {
|
|
name: "Nidhi",
|
|
description: "Nidhi is a software for Nidhi companies",
|
|
price: 35000,
|
|
maxDiscountPercentage: 15,
|
|
schemes: {
|
|
create: [
|
|
{
|
|
name: "with branch",
|
|
price: 45000,
|
|
features: "",
|
|
brochureUrl: null,
|
|
maxDiscountPercentage: 100,
|
|
productId: "02cb5871-795c-419f-99f8-6710f77274e9",
|
|
createdAt: "2026-06-04T05:31:55.630Z",
|
|
updatedAt: "2026-06-04T05:31:55.630Z"
|
|
}
|
|
]
|
|
},
|
|
addons: undefined
|
|
},
|
|
include: {
|
|
schemes: true,
|
|
addons: true
|
|
}
|
|
})
|
|
|
|
Unknown argument `productId`. Available options are marked with ?.
|
|
at wn (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:29:1363)
|
|
at $n.handleRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6958)
|
|
at $n.handleAndLogRequestError (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6623)
|
|
at $n.request (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:121:6307)
|
|
at async l (C:\ignosidev\Igcrm\apps\api\node_modules\@prisma\client\runtime\library.js:130:9633)
|
|
|