Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
NTP-996 opened this issue Mar 30, 2020 · 1 comment
Open

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

NTP-996 opened this issue Mar 30, 2020 · 1 comment

Comments

@NTP-996
Copy link

NTP-996 commented Mar 30, 2020

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: "[email protected]", …}
overriddenParagraphs: {}
agreements: {}
readonlyEmails: []
editEmails: []
draftId: "628092cfd9de0608225c864556ec367f8566c994e30de58132e5b5b1327ce070"
__proto__: Object

The response was Empty list of emails

i can't upload the contract

@pragatisharma23
Copy link

I'm also facing the same issue, have you find the solution if yes , please let me know @nttmai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants