mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
fix: fix typo in error messages when a property does not exist (#4310)
This commit is contained in:
parent
4a209e1dd9
commit
3af3db160b
|
@ -426,7 +426,7 @@ export class AwsRekognition implements INodeType {
|
||||||
if ((items[i].binary as IBinaryKeyData)[binaryPropertyName] === undefined) {
|
if ((items[i].binary as IBinaryKeyData)[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -847,7 +847,7 @@ export class AwsS3 implements INodeType {
|
||||||
if ((items[i].binary as IBinaryKeyData)[binaryPropertyName] === undefined) {
|
if ((items[i].binary as IBinaryKeyData)[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,7 +128,7 @@ export class AwsTextract implements INodeType {
|
||||||
if ((items[i].binary as IBinaryKeyData)[binaryProperty] === undefined) {
|
if ((items[i].binary as IBinaryKeyData)[binaryProperty] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ export async function upload(this: IExecuteFunctions, index: number) {
|
||||||
if (items[index]!.binary![propertyNameUpload] === undefined) {
|
if (items[index]!.binary![propertyNameUpload] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: index },
|
{ itemIndex: index },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,7 @@ export async function upload(this: IExecuteFunctions, index: number) {
|
||||||
if (items[index]!.binary![propertyNameUpload] === undefined) {
|
if (items[index]!.binary![propertyNameUpload] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: index },
|
{ itemIndex: index },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -288,7 +288,7 @@ export class Box implements INodeType {
|
||||||
if (items[i].binary[binaryPropertyName] === undefined) {
|
if (items[i].binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,7 +83,7 @@ export class CitrixAdc implements INodeType {
|
||||||
if (item.binary[binaryProperty] === undefined) {
|
if (item.binary[binaryProperty] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`The binary data property "${binaryProperty}" does not exists on item!`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,7 @@ export class Compression implements INodeType {
|
||||||
if (items[i].binary[binaryPropertyName] === undefined) {
|
if (items[i].binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -276,7 +276,7 @@ export class Compression implements INodeType {
|
||||||
if (items[i].binary[binaryPropertyName] === undefined) {
|
if (items[i].binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,7 @@ export class Cortex implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -352,7 +352,7 @@ export class Cortex implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -386,7 +386,7 @@ export class Cortex implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -774,7 +774,7 @@ export class Dropbox implements INodeType {
|
||||||
if (item.binary[propertyNameUpload] === undefined) {
|
if (item.binary[propertyNameUpload] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -386,7 +386,7 @@ export class FacebookGraphApi implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex },
|
{ itemIndex },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -637,7 +637,7 @@ export class Ftp implements INodeType {
|
||||||
if (itemBinaryData === undefined) {
|
if (itemBinaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -763,7 +763,7 @@ export class Ftp implements INodeType {
|
||||||
if (itemBinaryData === undefined) {
|
if (itemBinaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1835,7 +1835,7 @@ export class Github implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1586,7 +1586,7 @@ export class Gitlab implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,7 +160,7 @@ export const objectOperations: INodeProperties[] = [
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exist on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: this.getItemIndex() },
|
{ itemIndex: this.getItemIndex() },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -2448,7 +2448,7 @@ export class GoogleDrive implements INodeType {
|
||||||
if (binary === undefined) {
|
if (binary === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -402,7 +402,7 @@ export class YouTube implements INodeType {
|
||||||
if (item.binary[binaryProperty] === undefined) {
|
if (item.binary[binaryProperty] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -867,7 +867,7 @@ export class YouTube implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -749,7 +749,7 @@ export class HttpRequestV1 implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex },
|
{ itemIndex },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -787,7 +787,7 @@ export class HttpRequestV1 implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -787,7 +787,7 @@ export class HttpRequestV2 implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex },
|
{ itemIndex },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -825,7 +825,7 @@ export class HttpRequestV2 implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -86,7 +86,7 @@ export class HumanticAi implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -159,7 +159,7 @@ export class HumanticAi implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1069,7 +1069,7 @@ export class Jira implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -758,7 +758,7 @@ export class Keap implements INodeType {
|
||||||
if (item[property as string] === undefined) {
|
if (item[property as string] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`Binary data property "${property}" does not exists on item!`,
|
`Item has no binary property called "${property}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -840,7 +840,7 @@ export class Keap implements INodeType {
|
||||||
if (item[binaryPropertyName] === undefined) {
|
if (item[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ export class Line implements INodeType {
|
||||||
if (items[i].binary[image.binaryProperty] === undefined) {
|
if (items[i].binary[image.binaryProperty] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${image.binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${image.binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -150,7 +150,7 @@ export class LinkedIn implements INodeType {
|
||||||
if (item.binary[propertyNameUpload] === undefined) {
|
if (item.binary[propertyNameUpload] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -198,7 +198,7 @@ export async function handleMatrixCall(
|
||||||
) {
|
) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -206,7 +206,7 @@ export class MicrosoftOneDrive implements INodeType {
|
||||||
if (items[i].binary[binaryPropertyName] === undefined) {
|
if (items[i].binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -241,7 +241,7 @@ export async function binaryToAttachments(
|
||||||
if (binary[binaryPropertyName] === undefined) {
|
if (binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -641,7 +641,7 @@ export class MicrosoftOutlook implements INodeType {
|
||||||
if (items[i].binary[binaryPropertyName] === undefined) {
|
if (items[i].binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -178,7 +178,7 @@ export class Mindee implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (version === 1) {
|
if (version === 1) {
|
||||||
|
@ -249,7 +249,7 @@ export class Mindee implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (version === 1) {
|
if (version === 1) {
|
||||||
|
|
|
@ -915,7 +915,7 @@ export class NextCloud implements INodeType {
|
||||||
if (item.binary[propertyNameUpload] === undefined) {
|
if (item.binary[propertyNameUpload] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -273,7 +273,7 @@ export class NocoDB implements INodeType {
|
||||||
if (binaryPropertyName && !items[i].binary![binaryPropertyName]) {
|
if (binaryPropertyName && !items[i].binary![binaryPropertyName]) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`Binary property ${binaryPropertyName} does not exist on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -583,7 +583,7 @@ export class NocoDB implements INodeType {
|
||||||
if (binaryPropertyName && !items[i].binary![binaryPropertyName]) {
|
if (binaryPropertyName && !items[i].binary![binaryPropertyName]) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`Binary property ${binaryPropertyName} does not exist on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -4350,7 +4350,7 @@ export class Pipedrive implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -416,7 +416,7 @@ export class Pushbullet implements INodeType {
|
||||||
if (items[i].binary[binaryPropertyName] === undefined) {
|
if (items[i].binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -353,7 +353,7 @@ export class Pushover implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -244,7 +244,7 @@ export class RespondToWebhook implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${responseBinaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${responseBinaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -846,7 +846,7 @@ export class S3 implements INodeType {
|
||||||
if ((items[i].binary as IBinaryKeyData)[binaryPropertyName] === undefined) {
|
if ((items[i].binary as IBinaryKeyData)[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,7 @@ export namespace SendInBlueNode {
|
||||||
if (item.binary![binaryPropertyAttachmentName] === undefined) {
|
if (item.binary![binaryPropertyAttachmentName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property “${binaryPropertyAttachmentName}” exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -612,7 +612,7 @@ export class ServiceNow implements INodeType {
|
||||||
} else {
|
} else {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${inputDataFieldName}" does not exists on item!`,
|
`Item has no binary property called "${inputDataFieldName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1102,7 +1102,7 @@ export class SlackV1 implements INodeType {
|
||||||
) {
|
) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1068,7 +1068,7 @@ export class SlackV2 implements INodeType {
|
||||||
) {
|
) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryPropertyName}" does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -356,7 +356,7 @@ export class Ssh implements INodeType {
|
||||||
if (item.binary[propertyNameUpload] === undefined) {
|
if (item.binary[propertyNameUpload] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${propertyNameUpload}" does not exists on item!`,
|
`Item has no binary property called "${propertyNameUpload}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -442,7 +442,7 @@ export class TheHive implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -719,7 +719,7 @@ export class TheHive implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -914,7 +914,7 @@ export class TheHive implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -1770,7 +1770,7 @@ export class TheHive implements INodeType {
|
||||||
if (item.binary[binaryPropertyName] === undefined) {
|
if (item.binary[binaryPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property '${binaryPropertyName}' does not exists on item!`,
|
`Item has no binary property called "${binaryPropertyName}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -261,7 +261,7 @@ export class Twist implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -370,7 +370,7 @@ export class Twist implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -449,7 +449,7 @@ export class Twist implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -574,7 +574,7 @@ export class Twist implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -658,7 +658,7 @@ export class Twist implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -766,7 +766,7 @@ export class Twist implements INodeType {
|
||||||
if (binaryData === undefined) {
|
if (binaryData === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -239,7 +239,7 @@ export class Xml implements INodeType {
|
||||||
if (item.json[dataPropertyName] === undefined) {
|
if (item.json[dataPropertyName] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No json property "${dataPropertyName}" does not exists on item!`,
|
`Item has no JSON property called "${dataPropertyName}"`,
|
||||||
{ itemIndex },
|
{ itemIndex },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -200,7 +200,7 @@ export class Zulip implements INodeType {
|
||||||
if (items[i].binary[binaryProperty] === undefined) {
|
if (items[i].binary[binaryProperty] === undefined) {
|
||||||
throw new NodeOperationError(
|
throw new NodeOperationError(
|
||||||
this.getNode(),
|
this.getNode(),
|
||||||
`No binary data property "${binaryProperty}" does not exists on item!`,
|
`Item has no binary property called "${binaryProperty}"`,
|
||||||
{ itemIndex: i },
|
{ itemIndex: i },
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue