type 'Null' is not a subtype of type 'FutureOr'

Actions & Logic

Hi FlutterFlow Team, I'm encountering an issue when using the Page Generator (BETA). Every time I try to generate a page — even with validated JSON or minimal content — I receive the error:

"type 'Null' is not a subtype of type 'FutureOr<String>'"
and sometimes:
"All cloud function calls failed."

Can you please confirm if this is a known issue with the Page Generator BETA service, and if there's a workaround or estimated fix time? My JSON includes no null fields, and the error seems unrelated to my data. Thanks!

What have you tried so far?
  • Validated JSON: You used clean, well-structured JSON with no missing fields or null values for components like Image, Text, and Button.

  • Correct Strings: All url, label, value, and page fields were populated with non-null strings (as required by Page Generator).

  • No async logic: You ensured your code didn't include any custom logic like FutureBuilder or anything requiring a FutureOr<String> directly.

  • Tried different layouts: You tested with both the original and a simplified version of the layout (Spacer removed, divider fixed, etc.).

  • Switched to Dart fallback: You bypassed the generator by building the same page manually in pure Dart, which compiled and rendered fine — confirming the issue is with the Page Generator backend.

  • Monitored error variations:

    • "type 'Null' is not a subtype of type 'FutureOr<String>'"

    • "All cloud function calls failed"

Did you check FlutterFlow's Documentation for this topic?
No
3