Web request callback raised an exception, InvalidCastExceptionFixed

this error still appearing intermittently

Web request callback raised an exception in 'ServerArmour v0.5.1' plugin (InvalidCastException: Null object cannot be converted to a value type.)
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <45c13f2b01574d8b82248736e42013a4>:0
I need a more comprehensive log, errors before and after. 
player joined the server
15:52 [Error] ExType: JsonSerializationException
15:52 [Error] Web request callback raised an exception in 'ServerArmour v0.5.1' plugin (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <45c13f2b01574d8b82248736e42013a4>:0​
I have the same error but it only happens when a specific player joins my server. All others are reported fine and lookups work fine. It is just the one player. I rely heavily on your plugin and would love to see you guys add router/pc mac address banning to it if possible. Just so sick and tired of cheaters and I am starting to wonder if there is not a script out there that can cause this and bypass server armour to gain access to the server.
(20:10:24) | [777] DEAMON[5777176/76561############] has spawned
(20:10:25) | [Server Armour] Getting player from API
(20:10:25) | ExType: JsonSerializationException
(20:10:25) | Web request callback raised an exception (InvalidCastException: Null object cannot be converted to a value type.)
at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <45c13f2b01574d8b82248736e42013a4>:0​
If it's related to a specific player, then I would need that players steamid to see what's going on
Hi, thank you for replying. Here is the SteamID "76561198140516215"

Here is the message I am receiving in my RCON console
Can anyone tell me what this means and if there is something needing fixed or updated?  I am NOT a coder at all.

Web request callback raised an exception (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <45c13f2b01574d8b82248736e42013a4>:0
[Error] Web request callback raised an exception in 'ServerArmour v0.5.4' plugin (JsonReaderException: Unexpected character encountered while parsing value: E. Path '', line 0, position 0.)
  at Newtonsoft.Json.JsonTextReader.ParseValue () [0x002b3] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.JsonTextReader.Read () [0x0004c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00013] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x0000c] in <45c13f2b01574d8b82248736e42013a4>:0
  at Newtonsoft.Json.Linq.JObject.Parse (System.String json) [0x00000] in <45c13f2b01574d8b82248736e42013a4>:0
  at Oxide.Plugins.ServerArmour.<CheckServerConnection>m__0 (System.Int32 code, System.String response) [0x00054] in <b08ca7e3922f4d9d9d78664d35fc5293>:0
  at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>b__42_0 () [0x00034] in <ec05e0208c9149bba43236ca58fea105>:0
Please try version 0.5.5

player joined complete error log

23:01 [Info] [Welcomer] XXXXXX joined the server from Italy
23:01 [Error] ExType: JsonSerializationException
23:01 [Error] Web request callback raised an exception (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <45c13f2b01574d8b82248736e42013a4>:0
Can you please post the full steamid so that I can investigate. @nashslash

Merged post

Fixed in v0.5.62

Here is the full text before and after the error
If I had to guess, I'd say the likely culprit is either RaidableBases or Copy/Paste plugins.

00:15 [Info] [Welcomer] Player xxname redactedxx has joined the server from Canada
00:15 [Error] ExType: JsonSerializationException
00:15 [Error] Web request callback raised an exception (InvalidCastException: Null object cannot be converted to a value type.)
  at System.Convert.ChangeType (System.Object value, System.Type conversionType, System.IFormatProvider provider) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0007c] in <45c13f2b01574d8b82248736e42013a4>:0
00:15 [Info] [Copy Paste] You've successfully pasted the structure
00:16 [Info] [Raidable Bases] raidbungalo @ S3 : 90 items
00:16 [Info] [Copy Paste] You've successfully pasted the structure
00:16 [Info] [Raidable Bases] raidbungalo @ P5 : 88 items
Locked automatically