Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Rest API Workflow to Service Now

$
0
0

I have a workflow that works perfectly in vRO 6.0.3.  I migrated the workflow to vRO 7 and I am getting this error when running : Unsupported value for header: Accept=*/*  I'm setting the header with this command

request.setHeader("Accept","application/json");

 

Here is the full response

 

|  'attribute': name=errorCode type=String value=

|  'attribute': name=restOperation type=REST:RESTOperation value=dunes://service.dunes.ch/CustomSDKObject?id='d18034f6-cdd2-484e-bfbd-752ac1274f3d:7f70ca66-6c2f-4353-bcad-e96843fbd2fc'&dunesName='REST:RESTOperation'

|  'attribute': name=statusCodeAttribute type=Number value=400

|  'attribute': name=hostResource type=ResourceElement value=dunes://service.dunes.ch/ResourceElement?id='0dc69f5c-e39e-49a8-bd65-9cbd6bda9b2d'&dunesName='ResourceElement'

|  'output': name=statusCode type=Number value=400

|  'output': name=contentLength type=Number value=232

|  'output': name=headers type=Properties value=#[#Snapi-Request-Id#=#string#a288deff-68d3-48b6-8478-d841c53bc001#+#Strict-Transport-Security#=#string#max-age=15768000; includeSubDomains;#+#Server#=#string#gunicorn/19.3.0#+#X-Cnection#=#string#close#+#Set-Cookie#=#string#JSESSIONID=C2C4D02AB5F1042977303385B65B0EC2;Secure; Path=/; HttpOnly, BIGipServerpool_disney=1400914186.41278.0000; path=/#+#Content-Length#=#string#232#+#Date#=#string#Sun, 28 Feb 2016 03:27:23 GMT#+#Content-Type#=#string#application/json#]#

|  'output': name=contentAsString type=String value={"error":{"message":"Unsupported value for header: Accept=*/*","detail":"Unsupported value for header: Accept=*/* Check logs for error trace or enable glide.rest.debug property to verify REST request processing"},"status":"failure"}

|  'output': name=numbers type=Array/string value=#{##}#

|  'output': name=output type=string value=[]

|  'output': name=results type=string value={"error":{"message":"Unsupported value for header: Accept=*/*","detail":"Unsupported value for header: Accept=*/* Check logs for error trace or enable glide.rest.debug property to verify REST request processing"},"status":"failure"}

|  'no inputs'

*** End of execution stack.

 

Anyone seen this and have any idea?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>