Missing Response Body While Calling Appian API
Hi Experts,
I'm trying to add validation on my Appian Portal Page which doesn't support Regex Functions and hence I have created a Web API which is validating weather entered IP is valid or not and calling it on the UI using an Integration Object, when I test the API using Postman, I receive the correct response. However, when I use Appian's Integration Object to call the same API, the response body comes back without any value.
Valid Test Value: "1.1.1.1"
Postman Response:
{
"ipInfo": true
}
Appian Response:
HTTP/1.1 200 200
Date: Thu, 02 Jan 2025 13:43:42 GMT
Content-Type: text/html;charset=UTF-8
Connection: keep-alive
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Cache-Control: private
X-Trace-Id: a1956c41e9dd44f6226e475d8d145803
Referrer-Policy: strict-origin-when-cross-origin
X-Frame-Options: SAMEORIGIN
Content-Security-Policy-Report-Only: style-src 'unsafe-inline' 'self' https://web-assets.appian-cdn.com; child-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://web-assets.appian-cdn.com; object-src https:; frame-src https:; img-src https:; default-src 'self'; font-src 'self' https: data:; report-to /suite/rest/a/logging/latest/csp/report;
Content-Security-Policy: report-to /suite/rest/a/logging/latest/csp/report;
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=E39CE1C3B5B14568DBD7ADBC0B200225.node1; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Path=/suite; Secure; HttpOnly; SameSite=None; Partitioned; HttpOnly
Set-Cookie: JSESSIONID=E39CE1C3B5B14568DBD7ADBC0B200225.node1; Path=/suite; Secure; HttpOnly; SameSite=None; HttpOnly
X-Robots-Tag: none
X-XSS-Protection: 1; mode=block
Appian for TELUS (Cloud)
Use local or SSO login?
©2003-2025 Appian Corporation
Invalid Test Values: "1.1..1"
Postman Response:
{
"ipInfo": "Entered IP Addresses either Invalid or Private IP Addresses : 1.1..1"
}
Appian Response:
HTTP/1.1 200 200
Date: Thu, 02 Jan 2025 13:38:47 GMT
Content-Type: text/html;charset=UTF-8
Connection: keep-alive
Server: Apache
Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
Cache-Control: private
X-Trace-Id: 9fe1f66a83c2146ab13212fcbb7f72b9
Referrer-Policy: strict-origin-when-cross-origin
X-Frame-Options: SAMEORIGIN
Content-Security-Policy-Report-Only: style-src 'unsafe-inline' 'self' https://web-assets.appian-cdn.com; child-src 'none'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://web-assets.appian-cdn.com; object-src https:; frame-src https:; img-src https:; default-src 'self'; font-src 'self' https: data:; report-to /suite/rest/a/logging/latest/csp/report;
Content-Security-Policy: report-to /suite/rest/a/logging/latest/csp/report;
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=B4D59D4F1C55293A4680DF7C4EB24A9F.node1; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Path=/suite; Secure; HttpOnly; SameSite=None; Partitioned; HttpOnly
Set-Cookie: JSESSIONID=B4D59D4F1C55293A4680DF7C4EB24A9F.node1; Path=/suite; Secure; HttpOnly; SameSite=None; HttpOnly
X-Robots-Tag: none
X-XSS-Protection: 1; mode=block
Appian for TELUS (Cloud)
Use local or SSO login?
©2003-2025 Appian Corporation
Please suggest what might be causing this issue or if there's something I might be overlooking?
