A new Flexera Community experience is coming on November 25th. Click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Flexera Policy Tool (fpt) - 'An unexpected error occurred: insufficient privilege' when trying to use

I'm attempting to configure fpt to allow me check syntax and upload policies as I work on them.

 

❯ ./fpt config show
login:
accounts:
"34497":
flexera: true
host: governance-3.rightscale.com
id: 34497
refresh_token: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
default_account: "34497"
update:
check: true
❯ ./fpt check policy.pt
Checking policy.pt
An unexpected error occurred: insufficient privilege: requires governance:policy_template:compile, common:project:own, common:org:own
ERROR: compilation errors occurred

 

From the API Client (postman), using the same refresh_token, i don't have this problem.

Can anyone help me?

 

Thanks.

William

(1) Solution

The param "ID" is the Project Id (not the Org ID)

View solution in original post

(1) Reply

The param "ID" is the Project Id (not the Org ID)