Message type: E = Error
Message class:  /IWFND/MED_CHECK -  
Message number: 031
Message text: Unknown annotation type '&1' for '&2'
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
The SAP error message /IWFND/MED_CHECK031 Unknown annotation type '&1' for '&2' typically occurs in the context of SAP Gateway and OData services. This error indicates that the system has encountered an unknown or unrecognized annotation type in the metadata of an OData service.
Cause: Invalid Annotation: The error is often caused by the use of an annotation that is not recognized by the SAP Gateway framework. This could be due to a typo or an unsupported annotation type. Missing Annotations: If the OData service is expected to use certain annotations that are not defined or are missing in the service metadata, this error can occur. Version Mismatch: The OData service might be using annotations that are not supported in the version of the SAP Gateway you are using. Custom Annotations: If you are using custom annotations that are not properly defined or registered, this can lead to this error.
Solution: Check Annotations: Review the annotations used in
 Get instant SAP help. Sign up for our Free Essentials Plan.
Get instant SAP help. Sign up for our Free Essentials Plan. 
/IWFND/MED_CHECK030 Composite annotation value for '&1' must be blank
What causes this issue?  A composite annotation value must be blank, as it specifes a reference, not a value.System Response  The system issues an err...
/IWFND/MED_CHECK029 No annotation definition for '&1'
What causes this issue?  Annotaions definitions are defined in table <EX>/IWFND/I_MED_ADF</>. The specified annotation definition was not ...
/IWFND/MED_CHECK033 Annotation '&1' not assigned to property
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/IWFND/MED_CHECK034 Annotation '&1' not assigned to node
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.