
Following code throws exception:
Client client = new Client(configuration.ApiEndPoint, false, httpClient); client.SetEndpoint(configuration.ApiEndPoint); client.SetProject(configuration.ProjectId); client.SetJWT(token);
var account = new Account(client); var user = await account.Get();
Exception:
System.NullReferenceException
HResult=0x80004003
Message=Object reference not set to an instance of an object.
Source=Appwrite
StackTrace:
at Appwrite.Models.Target.From(Dictionary2 map)
at Appwrite.Models.User.<>c.<From>b__77_0(Dictionary
2 it)
at System.Linq.Enumerable.SelectListIterator2.Fill(ReadOnlySpan
1 source, Span1 destination, Func
2 func)
at System.Linq.Enumerable.SelectListIterator2.ToList()
at Appwrite.Models.User.From(Dictionary
2 map)
at Appwrite.Services.Account.<Get>g__Convert|1_0(Dictionary2 it)
at Appwrite.Client.<Call>d__31
1.MoveNext()
Am I missing something?
Recommended threads
- function stuck on 'processing' forever i...
I've made an image to zip convertor function, when I execute it through console it's forever stuck on 'processing' but when I try to execute it through postman ...
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
- Is it possible to change the model to a ...
Is it possible to change the model to a custom model, like: https://chatgpt.com/g/g-rmdbtMF7a-expedia , or only the base 3.5 turbo is possible for chatting?
