Back

Appwrite Error like an html

  • 0
  • Cloud
ianmont
10 Oct, 2023, 23:46

I recently got this error that showed up like an html. Is this normal? Im using appwrite cloud

TL;DR
The user encountered an error in Appwrite that appeared as HTML. They suspect that nesting code may be causing the issue and asked if there is a problem with Appwrite in such cases. They are using HTTPS and "/v1" in the endpoint. However, the user later discovered that the error occurred because they did not give permissions to the user. The issue was resolved by creating a document using the JavaScript SDK. The user wonders if it is normal for the error to appear as HTML.
Drake
11 Oct, 2023, 00:08

what did you do to get this?

ianmont
11 Oct, 2023, 00:08

Just create a document using the javascript sdk

ianmont
11 Oct, 2023, 00:09

Apparently I needed to give permissions to the user and I solved it, the strange thing was that the error came out as an html

Drake
11 Oct, 2023, 00:42

that is strange...it shouldn't return HTML. are you using https for the endpoint? does it include /v1? what's your code?

ianmont
11 Oct, 2023, 02:10
ianmont
11 Oct, 2023, 02:11

it does use the https and v1 on the endpoint

ianmont
11 Oct, 2023, 02:11

and my code is:

it runs a function and the response is then parsed and used to create a document, once that document is created i create another document, and then i update the first document that was created

ianmont
11 Oct, 2023, 02:13

my code is somewhat nested, so maybe that's where the problem could come from, is there a problem with appwrite if my code is somewhat nested?

Drake
11 Oct, 2023, 02:24

what exactly is throwing the exception?

ianmont
11 Oct, 2023, 02:30

It seems Im not getting the error html anymore It happened to me only once

but if it happens to me again, i will share all the details

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