7 Replies Latest reply on Aug 1, 2019 2:54 PM by Ganesh Prakaash

    Creating an entry in Custom form using REST API - POST method

    Ganesh Prakaash
      Share This:

      Hi,

       

      I'm getting the below mentioned error while trying to create an entry in a newly built Custom Form using REST API via Postman client.

       

      <html>
          <head>
              <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
              <title>Error 500 Server Error</title>
          </head>
          <body>
              <h2>HTTP ERROR 500</h2>
              <p>Problem accessing /api/arsys/v1/entry/IT:TEST. Reason:

                  <pre>    Server Error</pre>
              </p>
              <h3>Caused by:</h3>
              <pre>java.lang.RuntimeException: java.text.ParseException: Invalid JWS header: Invalid JSON: Unexpected token ? ?Y7?&amp;??r#?$?3#Sb&apos; at position 19.

       

      I have provided proper permissions to this form and moreover I'm using the JSON token generated with the help of Admin credentials.

       

      Not sure if I'm missing something here.

       

      On the other hand, I'm able to successfully perform POST/GET/DELETE methods in OOTB forms with the same JSON token.

       

      Request you to please provide your inputs on this issue.

       

       

       

      Kind Regards,

      Ganesh Prakaash