Integration Calling Twice on 404 with Connected System

Certified Associate Developer

Hi,

I have a set of Integration object that uses a Connection System (OAuth2: Client Credential Grant).
I am testing direct on the Integration object with blank attributes:
1. If it use connected system and the API returns 404 (i.e. user not found), the API will always fired twice (not expected). Below are the debug logs:
2. If it use connected system and the API returns 200, the API will only fired once (expected). 
3. if I remove the connected system and the API returns 404, then it will only fired once (expected). 

2023-10-26 07:26:14,981 - {
  "origin" : "local",
  "type" : "request",
  "correlation" : "d782eed85047a462",
  "protocol" : "HTTP/1.1",
  "remote" : "localhost",
  "method" : "POST",
  "uri" : "https://example.com/path/to/service/07?test=001",
  "host" : "example.com",
  "path" : "/path/to/service/07",
  "scheme" : "https",
  "port" : null,
  "headers" : {
    "Authorization" : [ "XXX" ],
    "Content-Type" : [ "text/plain; charset=UTF-8" ]
  },
  "body" : "[id:1234]"
}
2023-10-26 07:26:15,532 - {
  "origin" : "remote",
  "type" : "response",
  "correlation" : "d782eed85047a462",
  "duration" : 553,
  "protocol" : "HTTP/1.1",
  "status" : 404,
  "headers" : {
    "Cache-Control" : [ "max-age=604800" ],
    "Content-Length" : [ "433" ],
    "Content-Type" : [ "text/html; charset=UTF-8" ],
    "Date" : [ "Thu, 26 Oct 2023 07:26:15 GMT" ],
    "Expires" : [ "Thu, 02 Nov 2023 07:26:15 GMT" ],
    "Server" : [ "EOS (vny/0453)" ]
  },
  "body" : "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n         \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n\t<head>\n\t\t<title>404 - Not Found</title>\n\t</head>\n\t<body>\n\t\t<h1>404 - Not Found</h1>\n\t\t<script type=\"text/javascript\" src=\"//obj.ac.bcon.ecdns.net/ec_tpm_bcon.js\"></script>\n\t</body>\n</html>\n"
}
2023-10-26 07:26:15,900 - {
  "origin" : "local",
  "type" : "request",
  "correlation" : "a1dcea355e1fa8a5",
  "protocol" : "HTTP/1.1",
  "remote" : "localhost",
  "method" : "POST",
  "uri" : "https://example.com/path/to/service/07?test=001",
  "host" : "example.com",
  "path" : "/path/to/service/07",
  "scheme" : "https",
  "port" : null,
  "headers" : {
    "Authorization" : [ "XXX" ],
    "Content-Type" : [ "text/plain; charset=UTF-8" ]
  },
  "body" : "[id:1234]"
}
2023-10-26 07:26:16,450 - {
  "origin" : "remote",
  "type" : "response",
  "correlation" : "a1dcea355e1fa8a5",
  "duration" : 549,
  "protocol" : "HTTP/1.1",
  "status" : 404,
  "headers" : {
    "Cache-Control" : [ "max-age=604800" ],
    "Content-Length" : [ "433" ],
    "Content-Type" : [ "text/html; charset=UTF-8" ],
    "Date" : [ "Thu, 26 Oct 2023 07:26:16 GMT" ],
    "Expires" : [ "Thu, 02 Nov 2023 07:26:16 GMT" ],
    "Server" : [ "EOS (vny/0453)" ]
  },
  "body" : "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n         \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\n\t<head>\n\t\t<title>404 - Not Found</title>\n\t</head>\n\t<body>\n\t\t<h1>404 - Not Found</h1>\n\t\t<script type=\"text/javascript\" src=\"//obj.ac.bcon.ecdns.net/ec_tpm_bcon.js\"></script>\n\t</body>\n</html>\n"
}



Is this an Appian bug, and do we have any workaround for this?

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data