2 Replies Latest reply on Sep 28, 2016 7:17 AM by drdunn

    API Response - "BAD_REQUEST"

    joshuas58094831 Level 1

      Hi,

       

      I'm getting a response from the AdobeSign API with the status code "BAD_REQUEST" and the message "Please add at least one recipient. (apiActionId=CBJCHBCAABAAKPLylFMbw3KrZm2d3FXsT871EXrYa-Nc)"

       

      Below is my JSON Body:

       

      {

         "documentCreationInfo":{

            "fileInfos":[

               {

                  "transientDocumentId":"3AAABLblqZhCInvcEYr-hDsvMxdSol11fmwK1BVN15CUCfVtyOA8wuHnAQeBfYpklv NRcLVHWUTISThJpCUFSUre7I4gntjR7yh7JNzcdX0_MoR-xH30GFSNpzPpSp57-PX6bN8dgeCZLGF05lq_bKondO8T uW5KzPxoLFVrSeGnqr9Z0QK4m8Ja_q5xqFlyTUxOz96UFlQUW0O3ta5oAH6nxkLRQI6KFv3S-x-r6b2pUJRtXRIpo3 Q**"

               }

            ],

            "name":"ACC_WorkOrder_Ticket#12752.pdf",

            "recipientSetInfos":[

               {

                  "recipientSetMemberInfos":[

                     {

                        "email":"**EMAILHERE**"

                     }

                  ],

                  "recipientSetRole":"SIGNER"

               }

            ],

            "signatureType":"ESIGN",

            "daysUntilSigningDeadline":30,

            "externalId":{

               "id":"1"

            },

            "locale":"en_US",

            "message":"Test Message, ignore.",

            "reminderFrequency":"WEEKLY_UNTIL_SIGNED",

            "signatureFlow":"SENDER_SIGNATURE_NOT_REQUIRED"

         }

      }

       

      When I send this body with a valid email in the **EMAILHERE** field, I still get that response. Is my JSON not valid? How is that without a recipient? Is there something else I'm missing?