Skip to main content
Skip table of contents

REST request with symbols leads to 404 error

Problem

A 404 error occurs when calling the REST interface of LUY with a filter added to the URL.
For example, consider the following REST request, which aims to return all information systems with the status Current.

<LUY_URL>/api/data/InformationSystem[@status values="Current"]

Should this generate a 404 error, the symbols ( [ ] @ etc.) of the REST request are not interpreted correctly.

Solution

Encode the symbols of the REST request within the URI using the percent encoding. In the example above, this would lead to:

<LUY_URL>/api/data/InformationSystem%5B%40status%20values=%22Current%22%5D

You can also check the server.xml file of your Tomcat installation for the suitable character encoding: https://wiki.apache.org/tomcat/FAQ/CharacterEncoding#Q2

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.