Hi All,
I am getting this error when i select convert JSON to appian I am getting error invalid JSON format but when I select raw value i get response . Is Swagger file not formated well to return the JSON which Swgager file version will appian 23.2 will use and consume
The response body could not be converted to an Appian value The jsonText parameter was not valid JSON. Received: <...
498 ms Prepare: 4 ms - Execute: 494 ms - Transform: < 1 ms
Discussion posts and replies are publicly visible
Doesn't seem like your getting valid JSON. Do you mind sharing the raw output?
<HTML LANG="en-US"> <HEAD> <META http-equiv="content-type" content="text/html; charset=UTF-8"> <script>var csThemeSupportPath = "/img/style/images/";</script> <LINK REL="stylesheet" TYPE="text/css" HREF="/img/style/screen.css?v=1697.285" id="primaryCSS"> <LINK REL="stylesheet" TYPE="text/css" HREF="/img/style/csform.css?v=1697.285"> <link rel="shortcut icon" href="">cs-1-meag-i.eu.munichre.com/.../favicon.ico" type="image/x-icon"> <TITLE>Content Server - Error</TITLE> </HEAD> <BODY CLASS="pageBody"> <A id="top"></A> <LINK REL="stylesheet" TYPE="text/css" HREF="/img/style/jquery-ui.min.css"> <script src="/img/core/jquery.min.js"></script> <script src="/img/core/jquery-ui.min.js"></script> <script src="/img/core/ajax_dhtml_util.js"></script> <script src="/img/core/globalmenu.js"></script> <script src="/img/menu_en_US.js"></script> <script src="/img/menu.js"></script> <script src="/img/core/jquery.validate.min.js"></script> <script src="/img/core/jquery.validate_en_US.js"></script> <script src="/img/core/csform.js"></script> <script src="/img/core/csform_en_US.js"></script> <script src="/img/webnode/multipartupload_en_US.js"></script> <script src="/img/webnode/multipartupload.js"></script> <script> multipartSetup(false, 2050, 4100, 1); </script> <SCRIPT> function checkTabKey( event ) { if( event !=undefined ){ if ( event.keyCode == 9 ) return true; else return false; } else if( window.event != undefined ){ if ( window.event.keyCode == 9 ) return true; else return false; } else{ return false; } } function goToURL( url ) { if ( ( parent == self ) || ( parent.ButtonBarFrame != null ) ) { location.href = url; } else { parent.location.href = url; } } </SCRIPT> <A id="start"></A> <SCRIPT> contentTable = true; document.write( '<TABLE CLASS="pageBody tightTable" STYLE="height: 100%">' ); document.write( '<TR>' ); document.write( '<TD CLASS="cs-valign-top">' ); </SCRIPT> <HEADER role="banner"> <FORM NAME="headerForm"> <TABLE CLASS="tightTable"> <TR> <TD CLASS="header cs-valign-top"> <div id="header" class="csx" role="navigation" aria-labelledby="logo"> <div id="header-inner"> <h1 id="logo"> <a href="/OTCS/cs.exe?func=Enterprise.Home" title="Go to Enterprise Workspace">Open Text Content Server</a> </h1> </div> </div> <SCRIPT> baseURL = "/OTCS/cs.exe" </SCRIPT> <DIV ID="functionMenuParent"> <IFRAME ID="bridgeFrame" SRC="/img/spacer.gif" TITLE="hidden frame"> </IFRAME> </DIV> <TABLE CLASS="tightTable"> </TABLE> </TD> </TR> <TR> <TD CLASS="pagebody cs-valign-top"><IMG HEIGHT="15" ALT="" SRC="/img/spacer.gif" WIDTH="1" BORDER="0"></TD> </TR> </TABLE> </FORM> </HEADER> <SCRIPT> function resetPopup() { } document.write( '<TABLE CLASS="pageBody tightTable" STYLE="padding:15px; margin-left:auto; margin-right:auto;">'); document.write( '<TR>' ); document.write( '<TD CLASS="cs-valign-top">'); </SCRIPT> <main tabindex="0"> <!-- --> <div class="cs-form-container cs-form-message-container"> <div> <div class="cs-form-line-text cs-form-message cs-form-message-error" title="Error" id="errMsg" > <p> Content Server Error: Error dispatching request. </p> <p> Required input argument "func" not specified. </p> </div> </div> </div> </MAIN> <SCRIPT> if ( window.contentTable ) { if ( contentTable ) { document.write( '</TD></TR></TABLE></TD></TR><TR><TD CLASS="cs-valign-bottom">' ) } } </SCRIPT> <footer role="contentinfo"> <div id="footer" tabindex= "0"> <div class="copyright"> OpenText Content Server version 21.4. Copyright © 1995 - 2021 Open Text. All Rights Reserved. </div> </div> </footer> <SCRIPT> if ( window.contentTable ) { if ( contentTable ) { document.write( '</TD></TR></TABLE>' ) } } </SCRIPT> </BODY> </HTML>
That's HTML. Are you certain that you have the right endpoint?
yes endpoints are given retruning HTML that is the issue I m facing I suspect something is wrong at API side which they are not telling
this is raw response when I select convert JSON to Appian it gives me error that invalid JSON
do you see any error in API by looking this error in case you know how API is developed