Skip to content

FlutterFlow Code Exporter returns HTTP 400/500 despite valid project structure #7419

Description

@eternitty520-ctrl

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

The Florium Mana project passes the structural validation and the SDK is fresh, but the code exporter fails with an HTTP 400 error and a recorded HTTP 500 server error (“Unexpected error from the server”).

Project: Florium Mana
Project ID: teste-codegen-w66phx
Environment: prod
Commit: qPIByXtNzsP3Oj38tOuU
SDK: 0.0.40 — fresh

Diagnostics performed:

  • No missing pages, components, collections or enums were found.
  • No invalid references or missing entities were identified.
  • No external dependencies or APIs were found to explain the failure.
  • 47 custom functions exist, but none was identified as invalid.
  • The generated_code directory and manifest were not produced because the export failed before artifact generation.

Conclusion: the failure appears to occur in the FlutterFlow exporter/code-generation backend rather than from an identifiable structural problem in the project.

No project changes were made. No export-code or codegen refresh was executed.

  1. Antes de clicar em “Criar”

Confira se ficou assim:

  • ✅ Título preenchido
  • ✅ Permissão de acesso ao projeto marcada
  • ✅ Comportamento Atual preenchido
  • ⛔ Ainda não clique em “Criar”

Expected Behavior

O FlutterFlow deveria permitir a atualização do contexto do projeto sem exigir ou iniciar a exportação de código Flutter do lado do servidor, mantendo o projeto e o manifest em um estado consistente e sem gerar erros de codegen.

Steps to Reproduce

  1. Abrir o projeto Florium Management no FlutterFlow.
  2. Atualizar o contexto remoto do projeto usando o comando refresh-context --no-codegen.
  3. Verificar o estado do contexto e do manifest usando os comandos de diagnóstico disponíveis.
  4. Confirmar que o contexto remoto e o SDK local estão atualizados, mas que o manifest não foi regenerado.
  5. Tentar continuar o fluxo de atualização/validação do projeto sem executar export-code ou codegen refresh.
  6. O FlutterFlow permanece apresentando a necessidade de triagem relacionada à exportação de código Flutter do lado do servidor.

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

Florium Management — atualização de contexto sem codegen Comando executado: flutterflow ai refresh-context florium-management --no-codegen Verificação: flutterflow ai context-check Resultado: O contexto remoto e o SDK local foram atualizados, porém o manifest não foi regenerado. O objetivo é validar e corrigir o estado do projeto sem executar export-code ou codegen refresh.

Visual documentation

FlutterFlow_Bug_Report_Visual_Documentation.pdf

Environment

- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs triageA potential issue that has not been confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions