Skip to content
Back

Headers seem to disappear

  • 0
  • Flutter
  • Functions
  • Cloud
Thibault
10 Apr, 2025, 09:58

Hi,

In a function I use in Appwrite Cloud, I would like to get the locale of the user to translate my response accordingly.

I use the dart sdk, and set the locale in the client.

When debugging, I see that in the Future<Response> call that the header is well set with: "X-Appwrite-Locale" -> "fr_FR", which seems fine.

When logging all headers in the function call, I can not find this header, can someone explain what I am doing wrong?

TL;DR
Developers are facing an issue where headers seem to disappear in an Appwrite Cloud function, specifically related to setting and retrieving the locale header using the Dart SDK. Although the header is correctly set in the `call` function, it is missing when logging all headers in the function call. The header should be accessible and visible in the logs.
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