Uploaded image for project: 'Incubator'
  1. Incubator
  2. INCUBATOR-37

magnolia-openai-automations: Request to "Generate SEO Metadata" Returns 401

    XMLWordPrintable

Details

    • Bug
    • Resolution: Resolved
    • Neutral
    • None
    • None
    • None
    • Magnolia 6.2.35 (Java 11)

    Description

      Steps to reproduce

      1. OPENAI saved under Module Version 1.0.1 with valid apiKey saved under `/modules/openai-automations@apiKey` according to https://docs.magnolia-cms.com/openai-automations/index.html#_ai_powered_seo_metadata_field
      2. Button is displayed and clickable:
      3. a
      4. Upon clicking it a 401 response is returned, with the payload sent as follows: request-openai, a POST Request to /.rest/openai-completions with referer (your.mgnl.environment)/author/.resources/openai-automations/webresources/openai-seo-metadata/field.html
      1. This then result in a continous looping "loading icon".

       

       

      Expected results

      Upon clicking the button, the request should fill in the specified fields.

      Actual results

      401 Response and no content returned (or call outgoing)

       

      Is there a step that we missed in the setup of this incubator module?

      We assumed that since have the dependency in the pom (following the documentation), a valid api key and the field in the dialog, that it should work.

       

      Thanks for your help in this manner!

      • Brian from fastforward websolutions

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              sgeschke Sebastian Geschke
              bschweigler Brian Schweigler
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Bug DoR
                  Task DoD