Skip to main content
May 15, 2024 1:25 PM UTC
Solved

Not able to generate access token

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())

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SatheeskannaK
SatheeskannaKAccepted solution
Adobe Champion, Community Advisor, UG Leader
May 15, 2024 9:10 PM UTC

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

Thanks, Sathees

1 reply

SatheeskannaK
Adobe Champion, Community Advisor, UG Leader
SatheeskannaKAdobe Champion, Community Advisor, UG LeaderAccepted solution
Adobe Champion, Community Advisor, UG Leader
May 15, 2024 9:10 PM UTC

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

Translate
Thanks, Sathees