Expand my Community achievements bar.

Don’t miss the Workfront AMA: System Smarts & Strategic Starts! Ask your questions about keeping Workfront running smoothly, planning enhancements, reporting, or adoption, and get practical insights from Adobe experts.
SOLVED

Not able to generate access token

Avatar

Level 1

Hi, we are trying to generate access token but we are getting below error

{
    "error": {
        "message": "method PUT is not allowed for authorization type EAUTH_JWT_COOKIE_WITHOUT_CSRF"
    }
}
 
we are using the below endpoint

import requests
import json

WORKFRONT_API_URL = "https://gartnerdigitalmarkets.my.workfront.com/attask/api/v14.0"
WORKFRONT_API_VERSION = "/attask/api/v14.0"
response = requests.put(url=f'{WORKFRONT_API_URL}{WORKFRONT_API_VERSION}/user?action=generateApiKey&username=[ email id ]&password=[ password ]&method=put')

print(response.json())

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Looks like this is related to the workfront. Take a look at this documentation. Moving this question to workfront community.

Thanks, Sathees

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Looks like this is related to the workfront. Take a look at this documentation. Moving this question to workfront community.

Thanks, Sathees