## 404: Resource not found
| Term   | Description                                                                                                                                      |
|--------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| Issue  | The HTML5 application repository does not serve content. The application log displays the following message: "Applica- tion xyz does not exist." |
| Term     | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Cause    | This issue can have different causes: • Cause 1: The application name in the URL is incorrect. Application names in the HTML5 application repository do not use periods ('. ') as separators in the URL. For example: if the app.id in the manifest.json file is country . list , the application name is countrylist . Use this name in the URL. • Cause 2: The request URL does not include the applica- tion key. A request to the application router must include the application key in the URL. The application router uses the application key to fetch the xs-app.json file of the HTML5 application from the HTML5 application reposi- tory. The application key can include the business serv- ice prefix, application name, and application version. (Only the application name is required.)                                                                                                                                                                                                                             |
| Solution | 1. Check the application name. In the request URL, use the application name without periods as separators. 2. If the application name is correct, check if the request URL to the application router includes the application key. If the URL does not include the application key, review how you configured the backend application data retrieval in your HTML5 application: • If you use SAP Fiori tools, such as SAP Business Application Studio, check the dataSources.uri property in the manifest.json file. The value for dataSources.uri property must not start with a slash ("/"). For example: northwind/V2/Northwind.svc is correct, but / northwind/V2/Northwind.svc is in- correct. A leading slash creates an absolute path, which prevents the browser from concatenating the application key for the request. If there is a leading slash, remove it. • If you use a JQueryAjax call for the request, make sure the URL provided to the JQueryAjax call is a relative path and does not start with a slash ("/"). |