1501 | 표현식은 비워둘 수 없습니다. | 표현식이 비워져 있을 때 호출됩니다. | 샘플 페이로드:{ "expr": "", "return_type": "text" } |
응답 본문:{ "code": 1501, "message": "Expression cannot be blank.", "operator": "", "operand": "", "link": "", "requestId": "ab2b3ea6-e419-42b2-ba41-07ab3cdcd605" } |
|
1502 | 잘못된 연산자 '%s'. | --작업 진행 중-- | --작업 진행 중-- |
1503 | 잘못된 피연산자 '%s'. | 잘못된 피연산자가 제공될 때 호출됩니다. 예시에서 볼 수 있듯이 dateTime은 7개의 피연산자(6개의 피연산자와 하나의 시간대)를 필요로 하지만, 우리는 세 개의 피연산자와 시간대에만 값을 제공하고 있습니다. 따라서 잘못된 피연산자 오류가 발생합니다. | 샘플 페이로드:{ "expr": "dateTime( #{operand1}, #{operand2}, #{operand3}, #{operand4}, #{operand5}, #{operand6}, #{timezone} )", "operand_values": { "operand1": 2019, "operand2": 23, "operand3": 3, "timezone":"Australia/Sydney" }, "return_type": "date" } |
응답 본문:{ "code": 1503, "message": "Invalid operand 'operand4'.", "operator": "", "operand": "operand4", "link": "", "requestId": "37a24a53-2249-42fa-9495-bd9f0d347dd3" } |
|
1504 | 연산자 '%s' : 피연산자가 누락되었습니다. | 표현식에 피연산자가 없을 때 호출됩니다. 예시에서 연도 함수가 있지만 값(피연산자)을 지정하지 않았습니다. | 샘플 페이로드:{ "expr": "year()", "operand_values": { }, "return_type": "decimal" } |
응답 본문:{ "code": 1504, "message": "Operator 'year' : An operand is missing.", "operator": "year", "operand": "", "link": "", "requestId": "64879b19-9b15-49e1-8948-83cb033c2cce" } |
|
1505 | 연산자 '%s' : 피연산자 중 하나가 잘못되었습니다. | 피연산자 중 하나가 잘못되었을 때 호출됩니다. 예시에서 문자열과 숫자를 비교하기 위해 max 함수를 사용하고 있는데, 이는 불가능합니다. | 샘플 페이로드:{ "expr": "max(#{operand1},#{operand2})", "operand_values": { "operand1": "abc", "operand2": 10 }, "return_type": "number" } |
응답 본문:{ "code": 1505, "message": "Operator 'max' : One of its operands is invalid.", "operator": "max", "operand": "", "link": "", "requestId": "9076afdd-e07c-4c58-ac2c-0bf411a673d1" } |
|
| 1505 | 연산자 '%s' : 피연산자 중 하나가 잘못되었습니다.
| 피연산자 중 하나가 잘못되었을 때 호출됩니다. 예시에서 문자열과 숫자를 비교하기 위해 max 함수를 사용하고 있는데, 이는 불가능합니다.
| 샘플 페이로드: { "expr": "concat(\"\#{ticket.subject}\",\"\#{ticket.subject}\")", "operand_values": { "ticket.subject": "abc" }, "return_type": "text" }
응답 본문: {"code"=>1505, "message"=>"Operator 'concat' : One of its operands is invalid.", "operator"=>"concat", "operand"=>"", "link"=>"", "requestId"=>"fc202da9-3444-4efc-97fd-a92cc0684d79"}
|
1507 | '%s'가 누락되었습니다. | 표현식에서 여는 괄호가 누락되었을 때 발생합니다. 예시와 같습니다. | 샘플 페이로드:{ "expr":"equals’test’,‘test’)", "return_type": "boolean" } |
응답 본문:{ "code": 1507, "message": "Missing '('.", "operator": "", "operand": "", "link": "", "requestId": "fe223cca-6a23-431c-8737-b8c2028ebc3d" } |
|
1508 | 피연산자 '%s' : '%s'가 누락되었습니다. | 닫는 구분자가 누락되었을 때 발생합니다. 예시에서 두 번째 피연산자에서 "}"가 누락되었습니다. | 샘플 페이로드:{ "expr": "charAt( #{operand1}, #{operand2)", "operand_values": { "operand1": 100, "operand2": 34 }, "return_type": "number" } |
응답 본문:{ "code": 1508, "message": "Operand 'operand2' : Missing '}'.", "operator": "", "operand": "operand2", "link": "", "requestId": "7dc874a0-70ca-4b9b-9d31-0eb76e041184" } |
|
1509 | 연산자 '%s' : 예상보다 많은 피연산자가 발견되었습니다. | 표현식에 필요한 피연산자보다 더 많은 피연산자가 있을 때 호출됩니다. 예를 들어, addDays 함수에서는 날짜와 추가할 일 수 두 개의 피연산자만 필요합니다. 이제 다른 피연산자는 불필요한 것으로 간주되며, 이러한 경우 오류가 발생합니다. | 샘플 페이로드:{ "expr": "addDays( #{operand1}, #{operand2}, #{operand3})", "operand_values": { "operand1": "2019-07-30", "operand2": "10", "operand3": "2019-07-03" }, "return_type": "text" } |
응답 본문:{ "code": 1509, "message": "Operator 'addDays' : Found more operands than expected.", "operator": "addDays", "operand": "", "link": "", "requestId": "36298540-cc81-40b5-9e41-e651c6dfc43f" } |
|
1510 | 피연산자 '%s' : 잘못된 데이터 유형. | 표현식 검증 중 잘못된 데이터 유형이 있을 때 호출됩니다. 이 예시에서는 산술 연산, 즉 두 피연산자를 더하는 작업을 수행하고 있습니다. 산술 연산이므로 두 피연산자는 모두 숫자여야 합니다. 그러나 여기서는 operand1이 문자열 형식입니다. 따라서 잘못된 데이터 유형 오류를 발생시킵니다. | 샘플 페이로드 (검증 API):{ "expr": "#{operand1}+#{operand2}", "operand_data_types": { "operand1": "", "operand2": 4 }, "return_type": "number" } |
응답 본문:{ "code": 1510, "message": "Operand 'operand1' : Invalid data type.", "operator": "", "operand": "operand1", "link": "", "requestId": "9dc3e113-15aa-4f09-af75-24f9202e0b86" } |
|
1511 | 연산자 '%s' : 추가 '%c'가 발견되었습니다. | 표현식에 추가 구분자가 있을 때 발생합니다. 주어진 예시에서 표현식에 추가 ","가 있습니다. | 샘플 페이로드:{ "expr": "max(#{operand1},#{operand2},)", "operand_values": { "operand1": 5, "operand2": 10 }, "return_type": "number" } |
응답 본문:{ "code": 1511, "message": "Operator 'max' : Found an extra ','.", "operator": "max", "operand": "", "link": "", "requestId": "52c7d8cd-5cd3-4bf9-b774-829a348f5c7d" } |
|
1512 | 표현식의 잘못된 반환 유형. | 함수의 반환 유형이 예상과 다를 때 발생합니다. 예시에서 abs 함수를 사용하여 정수 x 또는 |x| (절대값)을 인수로 제공하여 소수 부분을 제거하고 있습니다. 따라서 여기서 반환되는 항목은 정수여야 하지만 페이로드에서 부울 반환 유형을 기대하고 있습니다. 이러한 경우 오류가 발생합니다. | 샘플 페이로드:{ "expr": "abs(#{operand1})", "operand_values": { "operand1": 54.8 }, "return_type": "boolean" } |
응답 본문: { "code": 1512, "message": "Invalid return type for expression.", "operator": "", "operand": "", "link": "", "requestId": "fe49fb28-5805-4fe4-9f2e-605ad4bfb4a2" } |
|
1513 | 표현식의 잘못된 텍스트 '%s%s'. | --작업 진행 중-- | --작업 진행 중-- |
1514 | '%s'가 누락되었습니다. | 표현식에서 닫는 괄호가 누락되었을 때 발생합니다. 예시와 같습니다. | 샘플 페이로드:{ "expr": "asin( #{operand1}", "operand_values": { "operand1": 1 }, "return_type": "number" } |
응답 본문:{ "code": 1514, "message": "Missing ')'.", "operator": "", "operand": "", "link": "", "requestId": "dc7dd995-bc53-4c40-9d36-4c7d04f50386" } |
|
1515 | 연산자 '%s' : 연산자의 결과가 무한히 큽니다. | 표현식에서 무한히 큰 결과가 나올 때 발생합니다. 이 예시에서는 pow(10,308)를 자체적으로 곱셈하고 있습니다. Math.pow(10, 308)는 매우 큰 숫자인 1.0000000000000006e308을 반환합니다. 우리가 참조하고 있는 값 10308은 매우 큰 숫자이며, 프로그래밍 언어에서 사용되는 일반적인 부동 소수점 표현 범위를 초과합니다. 대부분의 프로그래밍 환경에서 pow 함수나 다른 표준 방법을 사용하여 10308을 계산하려고 하면 데이터 유형의 제한으로 인해 오버플로우 또는 오류가 발생할 가능성이 큽니다. 따라서 이렇게 큰 계산을 수행하기 때문에 이 오류가 발생합니다. | 샘플 페이로드:{ "expr": "pow(10,308)*pow(10,308)", "return_type": "decimal" } |
응답 본문:{ "code": 1515, "message": "Operator '*' : Result of operator is infinitely large.", "operator": "*", "operand": "", "link": "", "requestId": "37d79d4c-fecc-4f5c-a97c-5a9dcbd208da" } |
|
1516 | 피연산자 사이에 연산자가 누락되었습니다. | 두 피연산자 사이에 연산자가 없을 때 발생합니다. 예시에서 두 개의 if 조건이 있지만 &&, || 등의 연산자로 구분되지 않았습니다. | 샘플 페이로드:{ "expr": "if ('darktrace@alerts.com'=='darktrace@alerts.com', 'YES', 'NO')if ('darktrace@alerts.com'=='crowdstrike@alerts.com', 'YES', 'NO')", "return_type": "boolean" } |
응답 본문:{ "code": 1516, "message": "Missing Operator between operands.", "operator": "", "operand": "", "link": "", "requestId": "954e494e-6aaf-40eb-82a2-da907fed43dc" } |
|
1517 | castOperandTypes 메타는 제공된 '%s' 캐스팅 정보를 지원하지 않습니다 | 주어진 표현식에 대해 캐스팅이 불가능할 때 호출됩니다. 예시와 같습니다. 캐스팅은 텍스트에서 숫자 또는 텍스트에서 부울로만 가능합니다. 따라서 위의 것들 외에 다른 인수가 주어지면 오류 메시지가 발생합니다.캐스트 피연산자 유형에 대한 지원 값:“text”:[“boolean”]“text”:[“number”]“text”:[“boolean”, “number”]
| 샘플 페이로드:{ "expr": "abs(#{operand1})", "operand_values": { "operand1": 0.88 }, "cast_operand_types": { "additionalProp1": [ "string" ] }, "return_type": "text" } |
응답 본문:{ "code": 1517, "message": "castOperandTypes meta does not support provided '{additionalProp1=[string]}' casting information", "operator": "", "operand": "", "link": null, "requestId": "56a5bdef-98cd-4213-b0a4-c910bdc28c5e" } |
|
1601 | 연산자 '%s' : 두 번째 피연산자의 값은 0일 수 없습니다. | 두 번째 피연산자의 값이 0이 아닌 경우에 발생합니다. 예시에서 0으로 나누기를 수행하고 있으며, 이는 정의되지 않은 값을 반환하므로 정확한 출력을 제공하지 않습니다. 따라서 이러한 오류가 발생합니다. | 샘플 페이로드:{ "expr": "#{operand1}/#{operand2}", "operand_values": { "operand1": 4, "operand2": 0 }, "return_type": "number" } |
응답 본문:{ "code": 1601, "message": "Operator '/' : Second operand's value cannot be 0.", "operator": "/", "operand": "", "link": "", "requestId": "f3ac8c46-0d4b-4571-b7d6-3cd120ce9a81" } |
|
1641 | 연산자 '%s' : 두 번째 피연산자의 값은 >= 0이어야 합니다. | 두 번째 피연산자의 값이 0보다 작아서는 안 되는 경우에 발생합니다. 예를 들어, 문자열 "test"가 있습니다. 이제 그 중에서 부분 문자열을 추출하려고 합니다. 이제 문자 인덱싱은 0부터 시작합니다. 만약 음수 값을 제공하면 인덱스를 찾을 수 없으며, 가능한 최소 인덱스는 0입니다. 이러한 경우 오류가 발생합니다. | 샘플 페이로드:{ "expr": "substring(#{operand1}, #{operand2}, #{operand3})", "operand_values": { "operand1": "test", "operand2": -1, "operand3": 3 }, "return_type": "text" } |
응답 본문:{ "code": 1641, "message": "Operator 'substring' : Second operand's value must be >= 0.", "operator": "substring", "operand": "", "link": "", "requestId": "a83bdf41-7ca8-44a4-bc8e-3338c618d732" } |
|
1642 | 연산자 '%s' : 세 번째 피연산자의 값은 첫 번째 피연산자의 길이보다 작아야 합니다. | 세 번째 피연산자의 값이 첫 번째 피연산자의 길이보다 크거나 같아야 할 때 발생합니다. 예시에서 문자열 "test"의 길이는 4이며 인덱싱은 0부터 3까지입니다. 이제 다시 그 중에서 부분 문자열을 추출하려고 합니다. 이제 피연산자에 7과 같은 값을 제공하면, 이는 문자열에 없는 인덱스이므로 부분 문자열을 추출할 수 없습니다. | 샘플 페이로드:{ "expr": "substring(#{operand1}, #{operand2}, #{operand3})", "operand_values": { "operand1": "test", "operand2": 3, "operand3": 7 }, "return_type": "text" } |
응답 본문:{ "code": 1642, "message": "Operator 'substring' : Third operand's value must be <= first operand's length.", "operator": "substring", "operand": "", "link": "", "requestId": "da0e461f-16a2-49d0-94e0-9a273304b0ab" } |
|
1643 | 연산자 '%s' : 세 번째 피연산자의 값은 두 번째 피연산자의 값보다 커야 합니다. | 세 번째 피연산자의 값이 두 번째 피연산자의 값보다 커야 할 때 발생합니다. 예를 들어, 문자열 "test"가 있고 첫 번째 연산자는 2입니다. 이는 문자열의 2번째 인덱스에서 부분 문자열을 추출하려고 한다는 의미입니다. 이제 세 번째 피연산자는 1로 지정되어 있으며 이는 두 번째 피연산자보다 작습니다. 이제 더 높은 인덱스에서 더 낮은 인덱스로 부분 문자열을 얻을 수 없으므로, 인덱스 범위 2에서 3 또는 2에서 4까지 부분 문자열을 얻을 수 있지만 2에서 1까지는 불가능합니다.참고로, 세 번째 피연산자, 즉 끝 인덱스는 배타적입니다. 즉, 끝 인덱스의 문자는 부분 문자열에 포함되지 않습니다. 요약하자면, 부분 문자열을 처리하고 인덱스를 지정할 때, 추출하려는 문자 범위를 정의하기 위해 시작 인덱스(포함)와 끝 인덱스(배타적)를 제공하는 것이 일반적입니다. | 샘플 페이로드:{ "expr": "substring(#{operand1}, #{operand2}, #{operand3})", "operand_values": { "operand1": "test", "operand2": 2, "operand3": 1 }, "return_type": "text" } |
응답 본문:{ "code": 1643, "message": "Operator 'substring' : Third operand's value must be > second operand's value.", "operator": "substring", "operand": "", "link": "", "requestId": "5abba160-159f-4c33-b326-ca9924a3e71b" } |
|
1661 | 연산자 '%s' : 두 번째 피연산자의 값은 >= 0 및 첫 번째 피연산자의 길이보다 작아야 합니다. | 두 번째 피연산자의 값이 0 이상이고 첫 번째 피연산자의 길이보다 작아야 할 때 호출됩니다. 예시에서 문자열 "test"의 인덱싱 범위는 0에서 3입니다. 이제 charAt 함수를 사용하여 문자열의 4번째 인덱스를 가져오려고 하고 있습니다. 이는 존재하지 않으므로 이 오류가 발생합니다. | 샘플 페이로드:{ "expr": "charAt(#{operand1}, #{operand2})", "operand_values": { "operand1": "test", "operand2": 4 }, "return_type": "text" } |
응답 본문:{ "code": 1661, "message": "Operator 'charAt' : Second operand's value must be >= 0 and < first operand's length.", "operator": "charAt", "operand": "", "link": "", "requestId": "a08e7ee1-810c-4d23-8ca7-87f3433cf006" } |
|
1681 | 연산자 '%s' : 피연산자의 값은 >= -1 및 <= 1이어야 합니다. | 피연산자의 값이 -1에서 +1 사이의 범위에 있어야 할 때 호출됩니다. 예시에서는 사인 함수를 사용하고 있습니다. 사인의 값이 -1에서 +1 사이임을 알고 있기 때문에, 이 범위를 벗어난 값을 제공하면 이를 수용하지 않습니다. 이때 오류가 발생합니다. | 샘플 페이로드:{ "expr": "asin( #{operand1})", "operand_values": { "operand1": 54.8 }, "return_type": "number" } |
응답 본문:{ "code": 1681, "message": "Operator 'asin' : Operand's value must be >= -1 and <= 1.", "operator": "asin", "operand": "", "link": "", "requestId": "f2ead814-7924-407f-99e5-b28cf02aba04" } |
|
1701 | 연산자 '%s' : 함수의 첫 번째 피연산자는 부울 유형이어야 합니다. | 함수의 첫 번째 피연산자가 부울이어야 할 때 호출됩니다. 예시에서는 첫 번째 피연산자가 부울 값이어야 합니다. 이러한 경우 오류가 발생합니다. | 샘플 페이로드:{ "expr": "if(#{operand1}, #{operand2}, #{operand3})", "operand_values": { "operand1": 5, "operand2": "abc", "operand3": "def" }, "return_type": "text" } |
응답 본문:{ "code": 1701, "message": "Operator 'if' : First operand of the function must be of boolean type.", "operator": "if", "operand": "", "link": "", "requestId": "44c8c722-ef3f-40e6-ac93-8a0b7e516935" } |
|
1702 | 연산자 '%s' : 두 번째 및 세 번째 피연산자의 값은 동일한 유형이어야 합니다. | 두 번째 피연산자와 세 번째 피연산자가 동일한 유형이어야 할 때 호출됩니다. 예시에서는 두 번째 피연산자는 부울이고 세 번째는 소수로 서로 다릅니다. | 샘플 페이로드:{ "expr": "if( #{operand1}, #{operand2}, #{operand3})", "operand_values": { "operand1": true, "operand2": false, "operand3": 9.50 }, "return_type": "decimal" } |
응답 본문:{ "code": 1702, "message": "Operator 'if' : Second and third operands value must be of same type.", "operator": "if", "operand": "", "link": "", "requestId": "40ae4e0f-a783-49c2-8931-454b5ac20e46" } |
|
1721 | 연산자 '%s' : %s | Params에서 생성된 날짜가 잘못되었을 때 호출됩니다. 예시에서는 2월 30일이라는 날짜를 생성하려고 하고 있습니다. 이는 존재하지 않는 날짜이므로 이러한 경우 오류가 발생합니다. | 샘플 페이로드:{ "expr": "dateTime( #{operand1}, #{operand2}, #{operand3}, #{operand4}, #{operand5}, #{operand6}, #{timezone} )", "operand_values": { "operand1": 2019, "operand2": 2, "operand3": 30, "operand4": 3, "operand5": 3, "operand6": 3, "timezone":"Australia/Sydney" }, "return_type": "date" } |
응답 본문:
{ "code": 1721, "message": "Operator 'dateTime' : Invalid date 'FEBRUARY 30'", "operator": "dateTime", "operand": "", "link": "", "requestId": "503f745f-232b-4f56-812a-29c9983869f4" } |
|
1722 | 연산자 '%s' : 잘못된 시간대. | 시간대가 잘못되었을 때 발생합니다. 예시에서는 날짜 및 시간 세부 정보를 제공했지만 "Australia/Sydney"와 같은 시간대를 지정하지 않았습니다. 따라서 시간대가 지정되지 않았거나 잘못된 경우 이러한 오류가 발생합니다. | 샘플 페이로드:{ "expr": "dateTime( #{operand1}, #{operand2}, #{operand3}, #{operand4}, #{operand5}, #{operand6}, #{timezone} )", "operand_values": { "operand1": 2019, "operand2": 23, "operand3": 3, "operand4": 3, "operand5": 3, "operand6": 3, "timezone":"" }, "return_type": "date" } |
응답 본문:{ "code": 1722, "message": "Operator 'dateTime' : Invalid timezone.", "operator": "dateTime", "operand": "", "link": "", "requestId": "4b81bdfe-8340-45c0-b1ef-a56da3d0e5c8" } |
|
1741 | 연산자 '%s' : 피연산자 값은 >=1 및 <=18이어야 합니다. | 피연산자 값이 1에서 19 사이의 범위에 있어야 할 때 호출됩니다. 예시에서는 randomNumberOfLength 함수가 1에서 18까지의 값을 허용합니다. 이제 피연산자 값을 19로 지정하면 함수가 수용하지 않는 숫자이므로 이러한 오류가 발생합니다. | 샘플 페이로드:{ "expr": "randomNumberOfLength(19)", "return_type": "number" } |
응답 본문:{ "code": 1741, "message": "Operator 'randomNumberOfLength' : Operand value must be >=1 and <=18.", "operator": "randomNumberOfLength", "operand": "", "link": "", "requestId": "7f566655-0e0a-48e5-9fff-972f94d541d8" } |
|