16 Feb 2024 09:11 AM - last edited on 26 Feb 2024 08:18 AM by MaciejNeumann
Hello All,
Thanks in advance,
I am trying to download the BOSH release oneagent on my laptop. using the below cURL(PowerShell command ). Unfortunately i am receiving the error "code": 404 "message": "feature not enabled on server nodes".
Kindly help me to resolve the error.
curl.exe -X 'GET' ` 'https://{environmentid}.live.dynatrace.com/api/v1/deployment/boshrelease/agent/windows/version/1.283.139.20240209-194956?skipMetadata=false ' ` -H 'accept: application/octet-stream' ` -H 'Authorization: Api-Token dt0c01.xxxxxxxxM'
{ "error": { "code": 404, "message": "feature not enabled on server nodes" } }
Reagrds,
ANu
Solved! Go to Solution.
15 May 2024 07:53 PM - edited 16 May 2024 09:38 AM
For SaaS you will need to use an existing environment AG.
curl -X 'GET' \
'https://{your-environment-activegate}:9999/e/{your-environment-id}/api/v1/deployment/boshrelease/agent/{osType}/version/{version}' \
-H 'accept: application/octet-stream' \
-H 'Authorization: Api-Token dt0c01.KWAU4Z77M7ZBIKIBRW6MZLIB.'