Cannot create a new user of an instance

OS Name/Version: Ubuntu 20 (ARM)

Product Name/Version: AMP Release “Decadeus” v2.4.7, built 09/01/2024 03:42

Problem Description:
When creating a user inside of an instance I get an error and the user is not created.

POST: https://gaming.yetty.uk/API/ADSModule/Servers/c4c6f5c9-2838-4514-ac82-f71f0886e414/API/Core/CreateUser

{"Title":"Argument","Message":"Could not cast or convert from System.String to ModuleShared.ActionResult`1[System.Guid].","StackTrace":"  at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (Object value, Type initialType, Type targetType) \n  at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (Object initialValue, Globalization.CultureInfo culture, Type targetType) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, Object value, Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, Type targetType) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, Object value, Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, Type targetType) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Object existingValue) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, Object target) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, String id) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Object existingValue) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, Object existingValue) \n  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, Type objectType, Boolean checkAdditionalContent) \n  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, Type objectType) \n  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, Type objectType) \n  at Newtonsoft.Json.JsonConvert.DeserializeObject (String value, Type type, Newtonsoft.Json.JsonSerializerSettings settings) \n  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (String value, Newtonsoft.Json.JsonSerializerSettings settings) \n  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (String value) \n  at AMPAPI.RemoteInstance.GetResponse[T] (String Module, String Method, Object Parameters) \n  at AMPAPI.RemoteInstance+API_Core.CreateUser (String Username) \n  at GSMyAdmin.Authentication.RemoteAMPAuth.CreateUser (String Username, String Password) \n  at GSMyAdmin.WebServer.WebAttributes.InvokeMethod (String MethodName, Newtonsoft.Json.Linq.JObject Data, m.Http.IHttpRequest request, ModuleShared.IWebSession Session, ModuleShared.WebMethodsBase MethodsClass, String RawRequest) \n  at GSMyAdmin.WebServer.APIService.InvokeAPI (m.Http.IHttpRequest request, ModuleShared.IWebSession Session, Newtonsoft.Json.Linq.JObject Data, String RequestModule, String RequestMethod, String RawRequest) "}

Request:

{"Username":"ryan","SESSIONID":"7bf3953f-f382-4670-88ee-0c41c6033d04"}

Steps to reproduce:

  • Double click on instance
  • Go to settings
  • Go to user management
  • Create a new user

Actions taken to resolve so far:
Haven’t found a fix

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.