Ensign Ensign

API: Unauthorized access


I'm trying to obtain a file download token via the API using the following curl command:

curl -H "Authorization: FortifyToken <fortifyToken>" -u <user> "<ourFortifyUrl>/ssc/api/v1/fileTokens" -d fileTokenType=DOWNLOAD

The response I get is:

{"message":"Access Denied. Unauthorized access","responseCode":401,"errorCode":-10301}

I can download FPR files via the web GUI. Do I need certain permissions to access the API?


SSC version:


Thanks in advance.

12 Replies
Micro Focus Expert
Micro Focus Expert

@dgarozzo and @cryp 

I had a co-worker try both of these in his 19.1.0 instance and was successful with using token auth:


The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.