Hi all,
We have enabled Agentforce in our sandbox environment. When attempting to preview a prompt template, we encounter the following error:
“An error occurred during generation. Prompt Engine API failed - Status 404, Response.”
This issue does not occur with the standard templates provided within the org. However, when we create a new prompt template—or copy the instructions from a standard template into a new custom template—we consistently see this error.
When previewing the default standard templates, the response is generated successfully, and we can also see the token usage details.
Has anyone encountered this issue or have insights into what might be causing it?