Copy link to clipboard
Copied
Hi Everybody ,
I am trying to upoad a document for sing process using Adobe Sign API,
then I am getting an error response from API server as
"{\"code\":\"INVALID_API_ACCESS_POINT\",\"message\":\"Request must be made to correct API access point (e.g. use GET /baseUris).\"}"
I have created an integration key with full permission and use it in the api call.
I am following the below documentation link
https://www.adobe.io/apis/documentcloud/sign/docs.html#!adobedocs/adobe-sign/master/api_usage/send_s...
Anybody have any idea about the error response, Please help me to resolve the issue.
Please see my C# code as below
---------------------------------------
HttpResponseMessage result;
string api_access_point = "https://api.na1.adobesign.com/api/rest/v6/transientDocuments";
HttpClient httpClient = new System.Net.Http.HttpClient();
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("Authorization", "Bearer " + this.IntegrationKey);
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("Content-Type", "multipart/form-data");
httpClient.DefaultRequestHeaders.TryAddWithoutValidation("Content-Disposition", "filename="+ Path.GetFileName(this.documentFile));
this.fileContent = new ByteArrayContent(File.ReadAllBytes(this.documentFile));
using (MultipartFormDataContent mFormData = new MultipartFormDataContent())
{
mFormData.Add(this.fileContent, "File", Path.GetFileName(this.documentFile));
result = httpClient.PostAsync(api_access_point, mFormData).Result;
if (result.IsSuccessStatusCode)
{
// To Do
string response = result.Content.ReadAsStringAsync().Result;
this.transientDocumentId = JsonConvert.DeserializeObject<TransientDocumentId>(response);
}
else
{
string response = result.Content.ReadAsStringAsync().Result;
HandleError(result.StatusCode.ToString(), response);
}
}
Thank you.
Copy link to clipboard
Copied
Hi Everybody,
I had tried to upload a document through the TRY IT OUT screen with my authorised account, this also showing the same errror message, I think the issue may be related to my account, that have to do something additionly. Anybody have any idea about the issue?
Please help me.
Thank you
Copy link to clipboard
Copied
Hi TonySbnt,
Sorry for the delay in response.
Please try changing the request URL from https://api.na1.adobesign.com to https://api.in1.adobesign.com and check if that works.
If the issue persists, then I would suggest to get in touch with the presales team. They will be able to provide you the pre-sales technical assistance and share the right information.
Please refer to the following link to get in contact with them: https://acrobat.adobe.com/us/en/sign/pricing/plans.html. You may use the contact button for Adobe Sign business and enterprise under the Multi-User tab.
Let us know how it goes.
Thanks,
Meenakshi
Copy link to clipboard
Copied
to provide more context, the api access point url needs to match the url your Sign account is hosted on. Sign accounts can be hosted in different reasons, but most documentation will only show the na1 shard.
Login your Sign account and check the url, it could be
secure.eu1.adobesign.com (or still echosign.com)
or secure.au1.adobesign.com.
Your api end points need to match the shard, eu1 and au1 in the above examples.
But to be absolulely sure call