Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on run #1

Open
gtron opened this issue Nov 26, 2018 · 0 comments
Open

Error on run #1

gtron opened this issue Nov 26, 2018 · 0 comments

Comments

@gtron
Copy link

gtron commented Nov 26, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant