Legacy Knowledge Base
Published Jun. 30, 2025

Facing UI error in the AI creator when adding the API key

Written By

Anushka Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • AI creator is not working; it is showing the UI error when adding the API key to the Liferay instance.
  • Steps to reproduce:
    1. Start the server.
    2. Navigate to the Global Menu → Control Panel tab → Instance Settings (under Configuration).
    3. Click AI Creator under Content and Data.
    4. Paste your OpenAI API key into the API Key field and click on 'Save'

    Expected Behaviour: API key should be able to add the Liferay instance without any error.
    Observed Behaviour: Getting below error on the UI.
    Screenshot 2024-01-09 at 12.20.21 PM.png

Environment

  • Liferay 2023.Q4.4

Resolution

  • The observed behavior is a known bug addressed by the LPS-205434 

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base