Skip to content

Error on "Execute custom code" #5958

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2 tasks done
MendesCorporation opened this issue Jun 9, 2025 · 2 comments
Open
2 tasks done

Error on "Execute custom code" #5958

MendesCorporation opened this issue Jun 9, 2025 · 2 comments
Assignees

Comments

@MendesCorporation
Copy link

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

When trying to run the node "execute custom code" with this code:

ScaffoldMessenger.of(context).showSnackBar( SnackBar(content: Text('Mensagem personalizada')) )

Occurs error on build

When trying this same code on "custom code expression" the errors no occurs

Expected Behavior

Run with success

Steps to Reproduce

  1. Create a text
  2. In actions insert the execute custom code node
  3. Run

Reproducible from Blank

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

Bug Report Code (Required)

IT4kz8/q24lPm+FY1aX1bflFlSo4NjM9TLJMt9VxSUghfbL2PewMf8nCQFFLYteZTFZ6BlmkkjoJw9KMiePMUfBeAyicbKo9yq5XQTzKTl6RVc2QCKqeZHcmHtJmIXHE5piVnhImHOhsSGMs1E2DfPCdG3qCf9qOYwx5e6fDbOY=

Visual documentation

Image

Image

Image

Environment

- FlutterFlow version: 6.0.5
- Platform: Web
- Browser name and version: Chrome
- Operating system and version affected: All

Additional Information

No response

@MendesCorporation MendesCorporation added the status: needs triage A potential issue that has not been confirmed as a bug. label Jun 9, 2025
@Juansarmi Juansarmi self-assigned this Jun 9, 2025
Copy link
Collaborator


Hi! I'm sorry you're experiencing this issue.
I tried to reproduce it using the same code you provided, but I wasn't able to find any problems.

If you're trying to use this function to populate the text, it might not be the correct way to achieve that.
I recommend reaching out to our support team via the in-app chat or by email at [email protected] — they have the tools and permissions needed to assist you further.

Best regards.

@Juansarmi Juansarmi added status: not a bug This is not a bug. Sent with support labels Jun 9, 2025 — with Linear
@Juansarmi Juansarmi removed the status: needs triage A potential issue that has not been confirmed as a bug. label Jun 9, 2025
@MendesCorporation
Copy link
Author

MendesCorporation commented Jun 9, 2025

Could you please put here the screenshot that you put this code in the execute custom code and there was no error in the page code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants