Do you have any question about this error?
Message type: E = Error
Message class: REST_CORE_TEXTS -
Message number: 013
Message text: Unexpected closing bracket ('}') in URI template &
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.
REST_CORE_TEXTS013
- Unexpected closing bracket ('}') in URI template & ?The SAP error message
REST_CORE_TEXTS013 Unexpected closing bracket ('}') in URI template &
typically indicates that there is a syntax error in the URI template used in your RESTful service configuration. This error occurs when the system encounters a closing bracket (}
) that does not have a corresponding opening bracket ({
), or when the brackets are not properly formatted.Cause:
- Mismatched Brackets: There may be an extra closing bracket or a missing opening bracket in the URI template.
- Incorrect Syntax: The URI template may contain invalid characters or formatting that the system cannot parse correctly.
- Improper Variable Usage: If you are using variables within the URI template, ensure that they are correctly defined and formatted.
Solution:
Check the URI Template: Review the URI template for any mismatched or extra brackets. Ensure that every opening bracket
{
has a corresponding closing bracket}
.Example of a correct URI template:
/api/resource/{id}
Validate Syntax: Ensure that the syntax of the URI template adheres to the expected format. Remove any unnecessary characters or spaces that may cause parsing issues.
Test with Simple Templates: If you are unsure about the syntax, start with a simple URI template and gradually add complexity. This can help identify where the error is introduced.
Check Variable Definitions: If you are using variables in the URI, ensure that they are defined correctly in the service configuration and that they match the expected format.
Consult Documentation: Refer to the SAP documentation for RESTful services to ensure that you are following the correct guidelines for URI templates.
Related Information:
By carefully reviewing the URI template and ensuring proper syntax, you should be able to resolve the REST_CORE_TEXTS013
error.
Get instant SAP help. Start your 7-day free trial now.
REST_CORE_TEXTS012
Unexpected percent sign ('%') in URI template &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
REST_CORE_TEXTS011
Exception raised when publishing message
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
REST_CORE_TEXTS014
Invalid matrix parameter ';' in URI template &
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
REST_CORE_TEXTS015
Invalid opening bracket ('{') in URI template variable &
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.