Details
-
Bug
-
Resolution: Resolved
-
Neutral
-
None
-
None
-
None
-
Magnolia 6.2.35 (Java 11)
Description
Steps to reproduce
- 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
- Button is displayed and clickable:
- a

- 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
- 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