Back

Flutter appwrite: ^10.0.0 sdk throwing headers errors

  • 2
  • Tools
  • Flutter
chaos
1 Sep, 2023, 13:31

I install appwrite 1.4.1 and try to use the flutter sdk to retrieve some data.

The application is unable to compile regarding to functions.dart (Future<models.Execution> createExecution()) The headers map is defined twice and is throwing an error during compilation.

TL;DR
Title: Issue with Flutter appwrite SDK (v10.0.0) and headers errors Messages: The SDK is throwing errors related to headers being redefined. An update is available to fix this issue. You can check the fix here: [link to GitHub pull request]. Even with `flutter clean`, the problem persists. The error occurs during compilation in the functions.dart file, specifically in the `createExecution()` function where the headers map is defined twice. Solution: Wait for the fix in the updated version of the SDK and ensure you have the latest version installed.
iStornZ
1 Sep, 2023, 13:44

Same issue here even with flutter clean

iStornZ
1 Sep, 2023, 13:53

It seems headers are redefined but don't know if it is debug lines which was forgotten or an header append...

Drake
1 Sep, 2023, 15:19
hamed
2 Sep, 2023, 00:22

new update is available.

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