24
Views
3
Comments
[Expose and Consume API in Outsystems] an error during Rest Api method post
expose-and-consume-api-in-outsystems
Reactive icon
Forge component by Shriyash Dixit
Application Type
Reactive

Hi everyone, i'm facing a problem during an integration with HelloSign (this is the doc https://developers.hellosign.com/api/reference/welcome/) , the endpoint is:

https://developers.hellosign.com/api/reference/operation/signatureRequestSend/

https://api.hellosign.com/v3/signature_request/send

Im triying to send a url file with this method and during testing everything seems good:

 * method

*test:

i got a status code 200 , but after published i got a 400 status code with this message on log:


i don't know exactly what is the file issue, im sure that the url is public and i tested with differents urls in postman, python and the api rest editor on outsystems and it seems good,
any advice to face this problem?

Best regards

Champion

Hi @Eduardo Honores 

This is bad request error that means we are passing any value wrong or missing any value in request.

Can you please send same body Json here so I can check what's wrong with that body.

Thanks

Arun

this is the json file:


{    "title": "NDA with Acme Co.",    
"subject": "The NDA we talked about",    
"message": "Please sign this NDA and then we can discuss more. Let me know if you\nhave any questions.",    
"signers": [      
  { "email_address": "mailexample@gmail.com",            "name": "Jack",            "order": 0        }    ],    
"cc_email_addresses": [        "mailexample @gmail.com"],    
"file_urls": [        "https://www.dropbox.com/s/ad9qnhbrjjn64tu/mutual-NDA-example.pdf?dl=1"    ],   
 "metadata": {        "custom_id": 1234,        "custom_text": "NDA #9"    },    
"signing_options": {        "draw": True,        "type": True,        "upload": True,        "phone": False,        "default_type": "draw"    },    
"field_options": {        "date_format": "DD - MM - YYYY"    },    
"test_mode": True}

Champion

Hi,

Can you please let me know how you are passing API_Key 

As I tried to pass but it's showing unauthorised error. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.