Hi Dalmiro,
The URL that I passed is correct , its just I did not mention it in my issue.
I tried by running the command adding = sign and the values in " and got the below error
Below is the command that I executed
octo.exe dump-deployments --server=“http://octopus.rsc-uat.org” --apiKey=“API-MY-API-KEY” --filePath=Deployments.xml
Handshaking with Octopus server: http://octopus.rsc-uat.org
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while pars
ing value: <. Path ‘’, line 0, position 0.
Server stack trace:
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.ReadInternal()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(Jso
nReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Jso
nReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, Jso
nSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSeriali
zerSettings settings)
at Octopus.Client.Exceptions.OctopusExceptionFactory.CreateException(WebExcep
tion webException, HttpWebResponse response)
at Octopus.Client.OctopusClient.DispatchRequest[TResponseResource](OctopusReq
uest request, Boolean readResponse)
at Octopus.Client.OctopusClient.Get[TResource](String path, Object pathParame
ters)
at Octopus.Client.OctopusClient.EstablishSession()
at System.Lazy`1.CreateValue()
Exception rethrown at [0]:
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.ReadInternal()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(Jso
nReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Jso
nReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type
objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, Jso
nSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSeriali
zerSettings settings)
at Octopus.Client.Exceptions.OctopusExceptionFactory.CreateException(WebExcep
tion webException, HttpWebResponse response)
at Octopus.Client.OctopusClient.DispatchRequest[TResponseResource](OctopusReq
uest request, Boolean readResponse)
at Octopus.Client.OctopusClient.Get[TResource](String path, Object pathParame
ters)
at Octopus.Client.OctopusClient.EstablishSession()
at System.Lazy1.CreateValue() at System.Lazy
1.LazyInitValue()
at System.Lazy`1.get_Value()
at Octopus.Client.OctopusClient.get_RootDocument()
at OctopusTools.Commands.ApiCommand.Execute(String[] commandLineArguments)
at OctopusTools.Program.Main(String[] args)
Exit code: -3