Skip to content
Back

Probleme in objects when create account

  • 0
  • Flutter
mo7amedtech
21 May, 2023, 20:20

Hello i am trying to create account using SDK and when i add phone and prefs give me error .

TL;DR
The user is experiencing a problem creating an account using the SDK. They are receiving an error when they add the parameters 'phone' and 'prefs'. The solution is to remove these parameters, as they are not available for the method being used. The user is also asked to provide the exact error and the version of the SDK they are using.
Drake
21 May, 2023, 20:26

What's the error and what version of the SDK are you using?

mo7amedtech
21 May, 2023, 20:30

I can't use phone and prefs Version SDK is 1.3

Drake
21 May, 2023, 20:33

Please share the exact error.

Also, I'm asking for the version of the Appwrite flutter SDK, not Appwrite

mo7amedtech
21 May, 2023, 20:37

Sorry ^8.1.0 Here is exact error

Drake
21 May, 2023, 20:38

Those parameters aren't available for that method

mo7amedtech
21 May, 2023, 20:39

Yes, this is the one I copied from the docs

Drake
21 May, 2023, 20:40

Where?

mo7amedtech
21 May, 2023, 20:41

And properties have phone

Drake
21 May, 2023, 20:41

What?

mo7amedtech
21 May, 2023, 20:42
Drake
21 May, 2023, 20:42

Is this what's returned by the API?

Drake
21 May, 2023, 20:42

That doesn't mean it's input parameters for the api

mo7amedtech
21 May, 2023, 20:43

this is SDK not api

Drake
21 May, 2023, 20:43

The SDK calls the API....

Drake
21 May, 2023, 20:44

The function doesn't have that parameter so you can't pass it

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more