Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

WebHooks CustomHttpHeaders character '-' Json parse error

$
0
0
CustomHttpHeaders ->
{"X-LC-Id": "jrWMQD2HODqMHNVxxxxxxx-xxxxxxx","X-LC-Key": "M7bggCxFz1sUrtlxxxxxxxxxx","Content-Type": "application/json"}




Operation 226 failed in a server-side plugin. Check the configuration in the Dashboard. Message from server-plugin: Newtonsoft.Json.JsonReaderException : Invalid JavaScript property identifier character: -. Path '', line 1, position 2.
Stack Trace:
at Newtonsoft.Json.JsonTextReader.ParseUnquotedProperty()
at Newtonsoft.Json.JsonTextReader.ParseProperty()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CheckedRead(JsonReader reader)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
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 Photon.Hive.Plugin.WebHooks.WebHooksPlugin.SetupInstance(IPluginHost host, Dictionary`2 config, String& errorMsg) in d:\dev\photon-socketserver-sdk_cloud\src-server\Plugins\WebHooks1.2\WebHooksPlugin.cs:line 441
at Photon.Hive.Plugin.WebHooks.PluginFactory.Create(IPluginHost gameHost, String pluginName, Dictionary`2 config, String& errorMsg) in d:\dev\photon-socketserver-sdk_cloud\src-server\Plugins\WebHooks1.2\PluginFactory.cs:line 10
at Photon.Hive.Plugin.PluginManager.CreatePluginWithFactory(IPluginHost sink, String pluginName) in d:\dev\photon-socketserver-sdk_cloud\src-server\Hive\PhotonHive\Plugin\PluginManager.cs:line 476
at Photon.Hive.Plugin.PluginManager.GetGamePlugin(IPluginHost sink, String pluginName) in d:\dev\photon-socketserver-sdk_cloud\src-server\Hive\PhotonHive\Plugin\PluginManager.cs:line 213

Viewing all articles
Browse latest Browse all 8947

Trending Articles



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