• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Aug 27, 2021 Aug 27, 2021

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.

TOPICS
Send documents

Views

1.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2021 Aug 31, 2021

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.

 

TonySbnt2020_0-1630472972917.png

Thank you 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 01, 2021 Sep 01, 2021

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 03, 2021 Sep 03, 2021

Copy link to clipboard

Copied

LATEST

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

get /baseUris

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines