Skip to main content
January 2, 2025
Question

Missing Response Body While Calling Appian API

  • January 2, 2025
  • 3 replies
  • 0 views

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)



  
  
  

  
  
  
  

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)



  
  
  

  
  
  
  

Please suggest what might be causing this issue or if there's something I might be overlooking?

3 replies

davidj137213
January 9, 2025

Which authentication method are you using from the integration in Appian?

January 9, 2025

Hi David,

It was my bad for overlooking the authentication aspect earlier. I assumed that since both the API and integration are within Appian, authentication wouldn’t be required. The issue has already been resolved after adding the API key authentication.

stefanhelzle0001
January 9, 2025

Seems like the authentication does not work.