Comments (8)
HelloSign will send a 400 error when any part of the request isn't formed correctly. Most likely your problem has to do with CreateEmbedded. We haven't used this particular api command yet so I can't give you a step by step walkthrough. We've used and verified the CreateEmbeddedWithTemplate command so you may want to see if you can get that working. However glancing over your code it looks like you're missing the required client id parameter.
from hellosign.net.
I just noticed that client id is not currently defined in the code base for that command. You should try adding that parameter. HelloSign has been updating their API since this was done so this needs to be added.
from hellosign.net.
Thanks for a quick response.
I've just discovered this response from HelloSign.
{"error":{"error_msg":"Invalid parameter: file","error_name":"bad_request"}}
And I seem to making a mistake when specifying the file. Okay, so the file that is specified in the param is 170Kb PDF files, that lives in a directory will all admin permissions. And the specified path to file is valid, for example @"files/pdf_file.pdf" means that I really have that file in the specified path physically.
Does HelloSign accepts the files in different form, is this a wrong assignment of file param?
Thank you.
from hellosign.net.
Btw, I've discovered that response after trying with client_id defined in the param, as you said. That JSON response is what I'm getting after making a request.
from hellosign.net.
We haven't used that API command yet (embedded signing was in Beta when this library was written) so I can't really say. I would maybe try adding file_url params as defined in their docs or use the CreateEmbeddedWithTemplateAsync command which I know works. Hopefully someone will have some time in the future to update the embedded portion of this library.
from hellosign.net.
@zibrohimov did you get it working? I'm having similar problem with php sdk for Hello Sign.
from hellosign.net.
i've written my own small api that covers my basic needs. not used this one. this has man issues. aytganchi, o'zbekcha bilasizmi? ismiz o'zbekcha ekan.
from hellosign.net.
@zibrohimov I see. I'll probably go the same way, thanks.
Ha, o'zbekchani bilaman, Buxorodanman. Tanishganimdan xursandman :)
from hellosign.net.
Related Issues (6)
- Application Fails without Error HOT 10
- 404 Not Found
- Async Breaks Requests HOT 7
- Signature Id Not Return and no error found HOT 1
- API Key HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hellosign.net.