Back

appwriteException: Server Error

  • 0
  • React Native
  • Auth
MoheadageXXIV
12 Oct, 2024, 07:05

hello i was trying to get my application into the registration process, during tests i got this error and i don't understand what this error means

TL;DR
Developers are discussing a server error where the `.setPlatform` line might not be needed. The project ID is missing. Code snippets should be shared using Sourcebin for examination. Information about the endpoint and request content are needed. The error occurs during the registration process.
Pingu
12 Oct, 2024, 07:43

What endpoint are you calling to recieve this, and what request content are you passing? Without being able to understand what's being called etc its difficult to figure out where the issue lies. Things like the status code returned etc would help too

D5
12 Oct, 2024, 07:45

What's the code throwing this error?

MoheadageXXIV
12 Oct, 2024, 07:46

before sending it, do you guys read it by sourcebin or i just copy paste?

MoheadageXXIV
12 Oct, 2024, 07:48

ok i will just send it in sourcebin

MoheadageXXIV
12 Oct, 2024, 07:52
MoheadageXXIV
12 Oct, 2024, 07:52

the appwrite

D5
12 Oct, 2024, 07:52

If it's not that long, you can send here the code directly.

Put it between 3 back ticks in order to make it appear formatted.

Additionally you can specify the language in order to make discord highlight the sintax:

TypeScript
Here your code

(And add here another 3 back ticks like in the start to close the code)
MoheadageXXIV
12 Oct, 2024, 07:53
D5
12 Oct, 2024, 07:57

Looks like you're not specifying a project ID?

D5
12 Oct, 2024, 07:58

Or you have censored it?

MoheadageXXIV
12 Oct, 2024, 07:58

censored

MoheadageXXIV
12 Oct, 2024, 07:58

should i share it?

D5
12 Oct, 2024, 07:59

I think that the .setPlatform line is not needed

D5
12 Oct, 2024, 07:59

Not needed for now

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