Automate profile upload failing

Cant seem to upload compliance profiles , thought it was inspec but directly testing with the api gives the same results (401)

anyone got this to work ?

automate 0.6.64

curl -X POST “https://automate/compliance/profiles/admin” -H “chef-delivery-enterprise: nxe” -H “chef-delivery-user: admin” -H “chef-delivery-token: 93a49a4f2482c64126f7b6015e6b0f30284287ee4054ff8807fb63d9cbd1c506” --form “file=@/tmp/custom_CIS-RHEL6-L1.tar.gz” -k

401 Authorization Required

401 Authorization Required


nginx