Skip to main content
Participant
Oct 25, 2018 8:46 AM UTC
Answered

How to use x-api-user parameter

Hi,

I obtained access-token for master account with scope "account" but I can't make request to subaccounts.

1.) Our site get access-token for master account

2.) we try to POST /agreements (Adobe Sign REST API Version 5)

2a.) If we use access-token only then everything goes well

2b.) If we use access-token and x-api-user parameter we get error.

- email is valid

- subaccount with this email exists and is verified

Code (c#):

var userEmail = "subaccount@test.com";

request.AddHeader( "x-api-user", string.Format("email:{0}", userEmail) );

Response:

{"code":"INVALID_USER","message":"Invalid user ID or email provided in x-api-user header"}

What is wrong in this process?

Thanks for help!

This topic is closed to new replies. Start a new post to keep the conversation going.
Meenakshi_Negi
Meenakshi_NegiCorrect answer
Legend
Oct 26, 2018 9:12 AM UTC

Hi Ufexu,

I have checked that you are using the Adobe Sign developer account.

I would recommend you contact Pre-Sales team to get the settings enabled.

They will be able to provide pre-sales technical assistance to you.

Please refer to this link Adobe Sign plans for individuals and businesses | Adobe Document Cloud to get in contact with them.

Hope that helps.

Let us know if you have any questions.

Regards,

Meenakshi

3 replies

Participant
Oct 14, 2022 8:47 PM UTC

In my case issue was with that the application owner doesn't have admin rights assigned which might be causing the issue.
1) Log in to the Adobe Admin Console as an administrator
2) Navigate to the Adobe Sign product page: Products > Document Cloud > Adobe Sign > {Product Profile}
3) When the product profile page opens:
Find your user id to edit and click the drop-down in the "Product Role" column
Change the product role to the desired value i.e. Sign Account Admin
Please refer to the below-mentioned article with screenshots and click on Edit an existing user's Product role.
https://helpx.adobe.com/enterprise/admin-guide.html/enterprise/using/dce-feature-administration.ug.html

Translate
Participant
Aug 3, 2021 5:52 PM UTC

Hi Ufexu, I don't know if that's your correct name but I am also having this same issue. Did you find out anything to solve this error?

Translate
Meenakshi_Negi
Meenakshi_NegiCorrect answer
Legend
Oct 26, 2018 9:12 AM UTC

Hi Ufexu,

I have checked that you are using the Adobe Sign developer account.

I would recommend you contact Pre-Sales team to get the settings enabled.

They will be able to provide pre-sales technical assistance to you.

Please refer to this link Adobe Sign plans for individuals and businesses | Adobe Document Cloud to get in contact with them.

Hope that helps.

Let us know if you have any questions.

Regards,

Meenakshi

Translate