MuleSoft · SAP Connector
IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type is unavailable
Short answer
IDOC_ERROR_METADATA_UNAVAILABLE in the SAP Connector means the RFC destination does not support Unicode, so IDoc metadata can't be read. Configure Unicode support for the destination in transaction SM59.
VerifiedLast verified
01Error text
IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type ... is unavailable.02Likely causes
- The RFC destination does not support Unicode.
03How to fix it
- In the SAP instance, open transaction SM59.
- Configure Unicode support for the RFC destination.
- Retry the IDoc operation.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in MuleSoft Anypoint (SAP Connector):
IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type ... is unavailable.
What it usually means: IDOC_ERROR_METADATA_UNAVAILABLE in the SAP Connector means the RFC destination does not support Unicode, so IDoc metadata can't be read. Configure Unicode support for the destination in transaction SM59.
Likely causes:
- The RFC destination does not support Unicode.
Fix steps that usually work:
1. In the SAP instance, open transaction SM59.
2. Configure Unicode support for the RFC destination.
3. Retry the IDoc operation.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/mulesoft/sap-idoc-error-metadata-unavailableNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
05Official documentation
→Related errors
- java.lang.NoClassDefFoundError: com/sap/conn/idoc/IDocMetaDataUnavailableExceptionThis SAP Connector error means the SAP IDoc JAR was not loaded when you tested the connection or deployed the app. Add the IDoc library in the Required Libraries section of the connector configuration.
- Message is not a SAP object, it is of type byte[]This SAP Connector error means the BAPI or IDoc call did not receive a valid SAP object, because required input parameters are missing or the object is malformed. Build the SAP object as XML before the call.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft pay estimates