I would like to get the user name but it is not in the .json.
{
'$id': '646906064ac4bd090d84',
'$createdAt': '2023-05-20T17:40:22.315+00:00',
userId: '6469043d1d85c243a1cb',
expire: '2024-05-19 17:40:22.306',
provider: 'email',
providerUid: 'rangerdevv@gmail.com',
providerAccessToken: '',
providerAccessTokenExpiry: '',
providerRefreshToken: '',
ip: '96.236.210.249',
osCode: '',
osName: '',
osVersion: '',
clientType: 'library',
clientCode: '',
clientName: 'Node Fetch',
clientVersion: '1.0',
clientEngine: '',
clientEngineVersion: '',
deviceName: '',
deviceBrand: '',
deviceModel: '',
countryCode: 'us',
countryName: 'United States',
current: true
}
what version of appwrite are you using?
the latest one
im pretty sure
you can go to your appwrite console GUI, and it should say the version on the bottom right corner
Please confirm
1.1.2
its 1.1.2
so you're on cloud?
waht do I do
Which endpoint are you using to get this?
wym
like
web, flutter etc?
in that case I am using web
the endpoint
.setEndpoint('https://cloud.appwrite.io/v1')
No, I meant which function are you using to get the data?
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...