while trying to get UserLegalDTO which is of Category PLATFORM we are getting an NPE
System.NullReferenceException: Object reference not set to an instance of an object.\n at MangoPay.SDK.Core.RestTool.DoRequestAsync[U,T](String urlMethod, T entity, Pagination pagination, Dictionary2 additionalUrlParams, String idempotentKey)\n at MangoPay.SDK.Core.RestTool.RequestAsync[U,T](ApiEndPoint endPoint, Dictionary2 requestData, T entity, Pagination pagination, Dictionary2 additionalUrlParams, String idempotentKey)\n at MangoPay.SDK.Core.APIs.ApiBase.GetObjectAsync[T](ApiEndPoint endPoint, Dictionary2 additionalUrlParams)\n at MangoPay.SDK.Core.APIs.ApiBase.GetObjectAsync[T](MethodKey methodKey, Dictionary2 additionalUrlParams, String[] entitiesId)\n at MangoPay.SDK.Core.APIs.ApiBase.GetObjectAsync[T](MethodKey methodKey, String[] entitiesId)\n at MangoPay.SDK.Core.APIs.ApiUsers.GetLegalAsync(String userId)\n`
i can see that there are only 2 Categories supported now
namespace MangoPay.SDK.Core.Enumerations { public enum UserCategory { UNKNOWN, PAYER, OWNER, } }
while trying to get UserLegalDTO which is of Category PLATFORM we are getting an NPE
System.NullReferenceException: Object reference not set to an instance of an object.\n at MangoPay.SDK.Core.RestTool.DoRequestAsync[U,T](String urlMethod, T entity, Pagination pagination, Dictionary
2 additionalUrlParams, String idempotentKey)\n at MangoPay.SDK.Core.RestTool.RequestAsync[U,T](ApiEndPoint endPoint, Dictionary2 requestData, T entity, Pagination pagination, Dictionary
2 additionalUrlParams, String idempotentKey)\n at MangoPay.SDK.Core.APIs.ApiBase.GetObjectAsync[T](ApiEndPoint endPoint, Dictionary2 additionalUrlParams)\n at MangoPay.SDK.Core.APIs.ApiBase.GetObjectAsync[T](MethodKey methodKey, Dictionary
2 additionalUrlParams, String[] entitiesId)\n at MangoPay.SDK.Core.APIs.ApiBase.GetObjectAsync[T](MethodKey methodKey, String[] entitiesId)\n at MangoPay.SDK.Core.APIs.ApiUsers.GetLegalAsync(String userId)\n`HTTP response from the server is OK