Skip to main content
Participant
August 28, 2021
Question

Upload a Document using Adobe Sign API - getting response with "INVALID_API_ACCESS_POINT"

  • August 28, 2021
  • 1 reply
  • 2106 views


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_signing.md
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.

This topic has been closed for replies.

1 reply

Participant
September 1, 2021

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 

Meenakshi_Negi
Legend
September 1, 2021

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