Skip to content

Problem #6574

Description

@Akhlaghi3130

Describe the bug

Bug Report: OpenAI Authentication / Memory Errors on Flowise Cloud 3.1.2

Environment

  • Flowise Cloud
  • Version: 3.1.2
  • Browser: Microsoft Edge (latest)
  • OpenAI API

Description

I'm unable to use OpenAI in Flowise Cloud.

I have spent many hours troubleshooting this issue and tested multiple configurations, but even the simplest chatflow does not work.

What I tested

  • Created multiple new OpenAI API keys.

  • Added API credits ($10 available).

  • OpenAI Playground works correctly with the same API key.

  • Created new OpenAI credentials in Flowise.

  • Created completely new chatflows.

  • Tested different models:

    • gpt-5-mini
    • gpt-4.1-mini
    • gpt-4o-mini
  • Deleted and recreated credentials.

  • Tested with and without Memory.

  • Tested with and without Vector Store.

  • Tested with a minimal flow.

Minimal Reproduction

OpenAI Chat Model

Conversation Chain

The OpenAI credential is selected correctly.

Errors Received

Depending on the configuration, I receive one of the following errors:

  • 401 Unauthorized – Please check your API key and make sure it has access to the requested model.
  • Missing credentials. Please pass OPENAI_API_KEY.
  • TypeError: memory.getChatMessages is not a function.

Important Information

  • The exact same API key works correctly in the OpenAI Playground.
  • Billing is active.
  • API credits are available.
  • The issue only occurs inside Flowise Cloud.

Expected Behaviour

The minimal chatflow should return a normal response from OpenAI.

Actual Behaviour

The chatflow always fails with one of the errors listed above.

Screenshots

I have attached screenshots of:

  • Flowise version
  • OpenAI credentials
  • Chatflow configuration
  • Error messages

Could someone help me identify whether this is a configuration issue or a Flowise Cloud bug?

Thank you!

To Reproduce

.

Expected behavior

A Chatbot

Screenshots

No response

Flow

Image

Use Method

No response

Flowise Version

No response

Operating System

No response

Browser

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions