Hi team,
I am doing an POC on MuleSoft IDP. When processing the document via the UI without using prompt the document is processing successfully and relevant fields extracted correctly. But when I add the prompt either in INVOICE or in GENERIC, I am not getting any result.
Additionally, I check doing inspect then is see this below error
{code: "400": "Invalid API Key: xxxxxxxxxxx"}
Could anyone provide me the insight what might be the reason on this issue and how to resolve this part.
Thanks
The prompt feature in IDP requires a connected generative AI provider (OpenAI, Einstein, etc depending on your setup). Go into your IDP prompt configuration and confirm the API key for that provider is entered correctly and hasn't been truncated or pasted with trailing spaces. The "xxxxx" masking in the error suggests a key is present but rejected, which usually means it's wrong, expired, or revoked, not missing.
Try regenerating a fresh key from the provider's console and re-enter it.
If you're on Einstein/Salesforce's own model rather than a bring-your-own key, then the issue is likely the trust layer or model connection not being provisioned for your org. Raise a Salesforce support case if that is the case.