Skip to content

POST https://lib.openlaw.io/api/v1/default/upload/contract 500 #196

@NTP-996

Description

@NTP-996
const result = await apiClient.uploadContract(uploadParams);
console.log("results..", result);

In my uploadParams

{templateId: "6e8fdcdc6f0eaafe7dc88b56b90aa85a6e8ea53bcfbc18dca3b9743ca6c1e5d9", title: "OPENLEASE", text: "<%↵[[Seller Address: EthAddress]]↵[[Buyer Address:…↵[[Tenant Signatory Email: Identity | Signature]]", creator: "Peter", parameters: {…}, …}
templateId: "6e8fdcdc6f0eaafe7dc88b56b90aa85a6e8ea53bcfbc18dca3b9743ca6c1e5d9"
title: "OPENLEASE"
text: "<%↵[[Seller Address: EthAddress]]↵[[Buyer Address: EthAddress]]↵[[Purchased Item]]↵[[Purchase Price: Number]]↵[[@Purchase Price in Wei = Purchase Price * 1000000000000000000]]↵[[Record Contract:EthereumCall(↵contract: "0x0831eE46d34bcD4c5139f0104089AA68F401acEA";↵interface:[{"constant":false,"inputs":[{"name":"_descr","type":"string"},{"name":"_price","type":"uint256"},{"name":"_seller","type":"address"},{"name":"_buyer","type":"address"}],"name":"recordContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}];↵network:"Rinkeby";↵function:"recordContract";↵arguments: Purchased Item, Purchase Price in Wei, Seller Address, Buyer Address)]]↵%>↵\centered ** BILL OF LEASE **↵Landlord at Ethereum address [[Seller Address]] ("Seller") agrees for rent a **[[Purchased Item]]**, and tenant at Ethereum address [[Buyer Address]]  ("Buyer") agrees to pay [[Purchase Price]] ether per month located at the contract address "0x0831eE46d34bcD4c5139f0104089AA68F401acEA".↵[[Record Contract]]↵Landlord:↵[[Landlord Signatory Email: Identity | Signature]]↵________________↵Tenant:↵[[Tenant Signatory Email: Identity | Signature]]"
creator: "Peter"
parameters: {Seller Address: "0xb4742932bDAe0caeCf8Eb2AAcb34384433d74226", Buyer Address: "0xb4742932bDAe0caeCf8Eb2AAcb34384433d74226", Purchased Item: "House", Purchase Price: "0.1", Seller Signatory Email: "phuong.nguyen@sotatek.com", …}
overriddenParagraphs: {}
agreements: {}
readonlyEmails: []
editEmails: []
draftId: "628092cfd9de0608225c864556ec367f8566c994e30de58132e5b5b1327ce070"
__proto__: Object

The response was Empty list of emails

i can't upload the contract

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions