Skip to content

Error on run #1

@gtron

Description

@gtron

Hi, I am trying to run the agent but I get this error:

Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0. at Newtonsoft.Json.JsonTextReader.ParseValue() at Newtonsoft.Json.JsonTextReader.Read() at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value) at SnipeSharp.Endpoints.EndpointManager1.FindAll(ISearchFilter filter)
at SnipeItAgent.SnipeAccess.Get[T](String name) in C:\Users\Christian\Documents\RiderProjects\SnipeItAgent\SnipeItAgent\SnipeAccess.cs:line 78
at SnipeItAgent.Program.CreateAsset(String assetName, SnipeAccess access, StartOption startOption, Config config, SystemInfo info) in C:\Users\Christian\Documents\RiderProjects\SnipeItAgent\SnipeItAgent\Program.cs:line 100
at SnipeItAgent.Program.CreateOrUpdateAsset(StartOption startOption) in C:\Users\Christian\Documents\RiderProjects\SnipeItAgent\SnipeItAgent\Program.cs:line 57
at SnipeItAgent.Program.<>c__DisplayClass0_0.

b__0(StartOption options) in C:\Users\Christian\Documents\RiderProjects\SnipeItAgent\SnipeItAgent\Program.cs:line 19
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action)
at SnipeItAgent.Program.Main(String[] args) in C:\Users\Christian\Documents\RiderProjects\SnipeItAgent\SnipeItAgent\Program.cs:line 0`

I am using Windows 10. And Snipe-IT v4.6.5 build 3915 (gc7596e774).

Can you help me?
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions