We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Group Content
Welcome to the Sign API Developer Community
We're excited to introduce the Sign API Developer community, a space for you to engage with everything related to the Sign API. This forum is where you can ask questions, share knowledge, and collaborate to get the most out of Sign API. Whether you're an experienced developer or just starting with the Sign API, this forum is your go-to resource for technical exchange. Who should join? The forum is open to all, especially developers and technical users of the Sign API. If you have insights to share, questions to ask, or are looking to enhance your understanding of the Sign API, this community is for you. How to leverage this Community forum We encourage you to: Discuss: Engage in technical discussions, ask questions, and provide answers. Share: Contribute your knowledge, share your use cases, and explore new ways to use the Sign API. Feedback: Offer suggestions for improvements or new features, or bugs that need to be addressed. Tell us what you think We’d love to hear your thoughts on the Sign API community, so please leave any feedback in the comments below.3.3KViews4likes0Comments[Dropbox Sign API] Support for text tags in templates
I'd like to use text tags in templates. The documenation seems to imply this is possible (e.g. https://developers.hellosign.com/docs/signature-request/walkthrough/mentions text tags right after a section on templates) but `use_text_tags` is not supported as a parameter for the `/signature_request/send_with_template` endpoint. Is it possible to use text tags with a template?Solved2.7KViews0likes5CommentsCan't resolve './aes' error when using @dropbox/sign
Node: 18.17.1 @dropbox/sign: 1.1.3 Hi, when I try to use the sdk I get the following error: - error ./node_modules/@dropbox/sign/dist/api.js Module not found: Can't resolve './aes' The error comes from this simple piece of code: import * as DropboxSign from '@dropbox/sign'; const signatureRequestApi = new DropboxSign.SignatureRequestApi(); Would be very greatful for any help on this. Best, S2.6KViews2likes10CommentsInvalid_Grant whlie generating Access Token using saved Refresh token in Dropbox Sign .NET SDK
Hello Greg-DB, I am using the following Dropbox Sign .NET SDK code in my project to generate Dropbox Sign Access token using previously saved Refresh token. public async Task<TokenResponse> GetRefreshToken(TokenResponse tokenResponse) { TokenResponse tokenResponse2 = new TokenResponse(); string errorlog = ConfigurationManager2.AppSettings("ErrorLog"); var config = new Configuration(); var oAuthApi = new OAuthApi(config); try { var data = new OAuthTokenRefreshRequest(refreshToken: tokenResponse.RefreshToken); var result = await oAuthApi.OauthTokenRefreshAsync(data); if (result != null) { tokenResponse2.Expires = result.ExpiresIn; tokenResponse2.AcquireTime = DateTime.Now; tokenResponse2.AccessToken = result.AccessToken; tokenResponse2.RefreshToken = result.RefreshToken; tokenResponse2.AcquireTime = DateTime.UtcNow; } return tokenResponse2; } catch (ApiException ex) { File.AppendAllText(errorlog, "\r\n\r\n" + "nGetRefreshToken: - Error"); File.AppendAllText(errorlog, "\r\nException when calling Dropbox Sign API: " + ex.Message); File.AppendAllText(errorlog, "\r\nStatus Code: " + ex.ErrorCode); File.AppendAllText(errorlog, "\r\nStack Trace: " + ex.StackTrace); throw ex; } catch (Exception ex) { File.AppendAllText(errorlog, "\r\nGetRefreshToken - Error"); File.AppendAllText(errorlog, "\r\n" + ex.Message + "\r\n" + ex.StackTrace); } return tokenResponse; } I am getting the following Error Message and Stack Trace. Error converting value "invalid_grant" to type 'Dropbox.Sign.Model.ErrorResponseError'. Path 'error', line 1, position 24. at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Dropbox.Sign.Client.Configuration.<>c.<.cctor>b__78_0(String methodName, IApiResponse response) at Dropbox.Sign.Api.OAuthApi.OauthTokenRefreshWithHttpInfoAsync(OAuthTokenRefreshRequest oAuthTokenRefreshRequest, Int32 operationIndex, CancellationToken cancellationToken) at Dropbox.Sign.Api.OAuthApi.OauthTokenRefreshAsync(OAuthTokenRefreshRequest oAuthTokenRefreshRequest, Int32 operationIndex, CancellationToken cancellationToken) at SGCloudMigration.Business.DropboxSignUtility.GetRefreshToken(TokenResponse tokenResponse, String relationshipname) in D:\SG Cloud Migration\SGCloudMigration.Business.Core\DropboxSignUtility.cs:line 364 Please help. Thanks, GaganSolved2KViews0likes2Commentserror 400 when trying to Get Embedded Sign URL
Hi I'm trying toEmbedded the Dropbox sign api into my react project. im using javascript i want the user to sign in with their account and see their documents that need to be signed. when they click in a document it sends them to a page where the documents should be embedded i have the documents id and with that i can get the signature id, now when i try to make this api call it gives me an error "error_msg": "Signature request is not authorized for embedded signing.", i tried using the playground and still get the same result , any help is appreciated async function fetchEmbeddedSignUrl(signatureId) { console.log(signatureId) const response = await fetch(`https://api.hellosign.com/v3/embedded/sign_url/${signatureId}`, { method: 'GET', headers: { 'Authorization': `Basic ${btoa(API_KEY + ':')}`, 'Content-Type': 'application/json' } }); const data = await response.json(); console.log(data) return data.embedded.sign_url; }1.7KViews0likes6CommentsDropbox sign refresh token getting expire after 1 hour
Hello, I have successfully implemented the authentication flow for the Dropbox Sign API and obtained the initial access token and refresh token. However, I noticed that the refresh token expires after only 1 hour, which requires frequent reauthorization and disrupts the seamless user experience. I expected the refresh token to have a longer validity period for smoother token management. authUrl='https://app.hellosign.com/oauth/authorize?response_type=code&client_id=12345678&redirect_uri=redirect-url&token_access_type=offline&state=121324234' ---------------------------------------------------------------- // code exchange req curl --location 'https://app.hellosign.com/oauth/token' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --data '{ "code": "code", "grant_type": "authorization_code", "redirect_uri": "redirect_uri", "client_id": "client_id", "client_secret": "client_secret" }' Upon making a request for refresh token I am getting the below error req schema:- curl --location 'https://app.hellosign.com/oauth/token?=null' \ --header 'Content-Type: application/json' \ --data '{ "grant_type": "refresh_token", "refresh_token": "refresh_token" }' ______________________________________________________________________________ response:- { "error": "invalid_grant", "error_description": "Invalid grant data (refresh token)" } Thank you in advance for your support and contributions.1.6KViews0likes3CommentsGet Embedded Sign URL is asking for client id
when i run this code on my react app it gives me an error saying im missing the client ID parameters but in the documentation it dosent mention that , how am i suppose to make this call? Your request seems to have been malformed and returned the following error: → Missing parameter: client_id async function fetchSignUrl() { try { const response = await fetch(`https://api.hellosign.com/v3/embedded/sign_url/${signature_id}`, { method: 'GET', headers: { 'Authorization': `Basic ${btoa(API_KEY + ':')}` } }); if (!response.ok) { throw new Error(`HTTP error! Status: ${response.status}`); } const data = await response.json(); if (data && data.embedded && data.embedded.sign_url) { setSignUrl(data.embedded.sign_url); } } catch (error) { console.error("There was a problem fetching the sign URL:", error); } }Solved1.6KViews0likes2Commentscan other users use my app ?
im working on my app using the signature api and dropbox sign in. When i send out a signature request, the requester is always me, the one who owns the apis key. i want to make it so who ever is signed in to my app via the dropbox sign in is the requester https://api.hellosign.com/v3/signature_request/create_embedded this is the endpoint im using for the creating of the signature request.Solved1.5KViews0likes2CommentsError during send signature request - Email not valid
I'm trying to send a signature request via Java client this is my code (written in Kotlin) : class DropBoxSigner { companion object { private val apiClient = Configuration.getDefaultApiClient() .setPassword("api token") } fun sign() { val signatureRequestApi = SignatureRequestApi(apiClient) val signer1 = SubSignatureRequestSigner() .emailAddress("test.user1@dove.it") .name("Test User1") .order(0) val signer2 = SubSignatureRequestSigner() .emailAddress("test.user1@dove.it") .name("Test User2") .order(1) val signingOptions = SubSigningOptions() .draw(true) .type(true) .upload(true) .phone(true) .defaultType(DRAW) val data = SignatureRequestSendRequest() .title("a title") .subject("Request subject") .message("Request message") .signers(listOf(signer1, signer2)) .addFilesItem(File("./dropbox-sign.pdf")) .signingOptions(signingOptions) .testMode(true) try { val result = signatureRequestApi.signatureRequestSend(data) println(result) } catch (e: ApiException) { System.err.println("Exception when calling SignatureRequestSendRequest") System.err.println("Status code: " + e.code) System.err.println("Reason: " + e.responseBody) System.err.println("Response headers: " + e.responseHeaders) e.printStackTrace() } } } Code runs but this error is returned: Exception when calling SignatureRequestSendRequest Status code: 400 Reason: class ErrorResponse { error: class ErrorResponseError { errorMsg: Invalid email errorName: bad_request errorPath: null } } Response headers: {Server=[Apache], Access-Control-Allow-Origin=[*], Access-Control-Allow-Methods=[GET, POST, OPTIONS, PUT, DELETE], User-Agent=[HelloSign API], Connection=[keep-alive], P3P=[CP="NOP3PPOLICY"], Access-Control-Allow-Headers=[Authorization, Origin, X-Requested-With, Content-Type, Accept, Request-URL, Referrer-Policy, Referer, Sec-CH-UA, Sec-CH-UA-Mobile, Sec-CH-UA-Platform, Sec-Fetch-Site, User-Agent, X-User-Agent], Date=[Tue, 12 Dec 2023 11:04:41 GMT], Strict-Transport-Security=[max-age=31536000], Vary=[Origin], Set-Cookie=[AWSALBCORS=Cl7ucvVmKGS9HdGnc+aly50OW37r7KwAYfYZAxMPfny5vzI0QrEV40pcbRrPkClxABELt5uFkurQEoSCI/3qqliESOtOn5BymbD0MI4bRhEujK0anS1QRSNb6A+6; Expires=Tue, 19 Dec 2023 11:04:41 GMT; Path=/; SameSite=None; Secure, AWSALB=Cl7ucvVmKGS9HdGnc+aly50OW37r7KwAYfYZAxMPfny5vzI0QrEV40pcbRrPkClxABELt5uFkurQEoSCI/3qqliESOtOn5BymbD0MI4bRhEujK0anS1QRSNb6A+6; Expires=Tue, 19 Dec 2023 11:04:41 GMT; Path=/], Content-Length=[66], Content-Type=[application/json]} com.dropbox.sign.ApiException: class ErrorResponse { error: class ErrorResponseError { errorMsg: Invalid email errorName: bad_request errorPath: null } } at com.dropbox.sign.ApiClient.invokeAPI(ApiClient.java:1095) at com.dropbox.sign.api.SignatureRequestApi.signatureRequestSendWithHttpInfo(SignatureRequestApi.java:1238) at com.dropbox.sign.api.SignatureRequestApi.signatureRequestSend(SignatureRequestApi.java:1181) at DropBoxSigner.sign(DropBoxSigner.kt:52) Can you please help me to understand which mail is invalid? The two provided in the example are place holders but i can guarantee that the one I've used are valid emails with no blank space around thanks1.4KViews0likes1Comment
About Dropbox Sign API
This is a space for developers to get information on the Dropbox Sign API, share ideas with each other and receive support on Dropbox Sign API.
Latest Activity: 16 hours agoOpen Group
Tags
- API9 Topics
- Dropbox Sign4 Topics
- Developers1 Topic