Back

[SOLVED] Some API requests (updateDocument, ...) get skipped

  • 1
  • Databases
  • Flutter
AleXoTroN
18 Apr, 2023, 10:55

Hi

I am currently developing a flutter web app that communicates with a appwrite backend. The problem is: when I update a document, half of the request get skipped. I always get a respones message with the correct payload and updates but the document itself does not change everytime. Is this due to API limits? I already disabled the abuse env variable.

TL;DR
Title: [SOLVED] Flutter web app not updating documents properly Messages: - User reports that some API requests for document updates are being skipped - Respondent notes that they are using Futures and async functions and forgot to include "await" statements - User is developing a Flutter web app that communicates with an Appwrite backend - User wonders if the issue is related to API limits, but has already disabled the abuse env variable Solution: Make sure to include "await" statements in front of the necessary functions
AleXoTroN
18 Apr, 2023, 11:03

Solved: I am using Futures and async functions and I forgot some "await" statements in front of some functions

AleXoTroN
18 Apr, 2023, 11:03

[SOLVED] Some API requests (updateDocument, ...) get skipped

joeyouss
18 Apr, 2023, 11:20

Oh great, thanks for letting us know!

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