Coder Social home page Coder Social logo

Comments (8)

ross-stovall avatar ross-stovall commented on July 4, 2024

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.

ross-stovall avatar ross-stovall commented on July 4, 2024

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.

zibrohimov avatar zibrohimov commented on July 4, 2024

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.

zibrohimov avatar zibrohimov commented on July 4, 2024

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.

ross-stovall avatar ross-stovall commented on July 4, 2024

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.

azamat-sharapov avatar azamat-sharapov commented on July 4, 2024

@zibrohimov did you get it working? I'm having similar problem with php sdk for Hello Sign.

from hellosign.net.

zibrohimov avatar zibrohimov commented on July 4, 2024

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.

azamat-sharapov avatar azamat-sharapov commented on July 4, 2024

@zibrohimov I see. I'll probably go the same way, thanks.
Ha, o'zbekchani bilaman, Buxorodanman. Tanishganimdan xursandman :)

from hellosign.net.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.