mattmega77 Posted November 21 Posted November 21 I have been trying to get this script working for a while now, but I keep getting a '400 bad request' error on the 'POST schedule-push-image' action. I'm not sure what is wrong, because other GET/POST actions work fine. Any ideas? Thanks. Below are the resources I've been following. [REST]Pushing a new image Horizon 8 2206 style – Retouw.nl https://retouw.nl/2022/09/06/restpushing-a-new-image-horizon-8-2206-style/ CODE4223: Horizon Automation: From 101 to Deepdive with Wouter Kursten https://www.youtube.com/watch?v=s3dv4wXZt2E Various_Scripts/Horizon_Rest_Push_Image_VDI_2206.ps1 at master · Magneet/Various_Scripts https://github.com/Magneet/Various_Scripts/blob/master/Horizon_Rest_Push_Image_VDI_2206.ps1
Wouter Kursten Posted November 21 Posted November 21 can you share the details of the desktop pool and the commandline you are using? (ps also check my gi deployment tool https://retouw.nl/2023/11/06/new-horizon-golden-image-deployment-tool-released/ ) 1
Administrators Holly Lehman Posted November 21 Administrators Posted November 21 1 hour ago, Wouter Kursten said: can you share the details of the desktop pool and the commandline you are using? (ps also check my gi deployment tool https://retouw.nl/2023/11/06/new-horizon-golden-image-deployment-tool-released/ ) Thank you for looking into this for our customer!
mattmega77 Posted Friday at 01:38 PM Author Posted Friday at 01:38 PM I think my issue was caused by incorrect single quotes/double quotes/no quotes on some of the values. After some trial and error, I got it working.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now