Running Exec Script Rest API Fails with the Error "HTTP/1.1 400 Bad Request"
(Doc ID 2980010.1)
Last updated on OCTOBER 10, 2024
Applies to:
Oracle WebLogic Server - Version 12.2.1.4.0 and laterInformation in this document applies to any platform.
Symptoms
When trying to run a custom script using "Exec Script" option as documented in the below guide:
It fails and below errors are seen:
command:
=======
curl -v -H "Content-Type:application/json" -H "Accept:application/json" -H "X-Requested-By:MyClient" --user weblogic:Welcome1 -X POST http://localhost:<port>/management/weblogic/latest/domainRuntime/rolloutService/execScript -d "{"machineName":"M1","timeoutMillis":100000,"scriptName":"test5.sh"}"
Output:
======
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |