Improvement #8303
openAPPM Publisher: 404 error on log when AFW isn't configured
0%
Description
From Gitlab
------------------------
gitlabId --> 304 https://gitlab.com/entgra/product-iots/-/issues/304
labels --> Type: Improvement,
assignees --> amnd1188,
created_at --> 2020-01-14 12:30:46 IST +0530
updated_at --> 2022-01-24 16:25:20 IST +0530
------------------------
- Description
This error is printing on the log on each page refresh when `Android For Work` isn't configured.
```
[2020-01-14 12:00:46,825] [IoT-Core] ERROR - {io.entgra.ui.request.interceptor.util.HandlerUtil} Received 404 response for http request : GET https://localhost:8243/api/device-mgt/android/v1.0/enterprise/store-url?approveApps=true&searchEnabled=true&isPrivateAppsEnabled=true&isWebAppEnabled=true&isOrganizeAppPageVisible=true&isManagedConfigEnabled=true&host=https://localhost:9443. Error message: {"message":"Not configured for AFW","errorItems":[]}
[2020-01-14 12:00:46,825] [IoT-Core] ERROR - {io.entgra.ui.request.interceptor.InvokerHandler} Error occurred while invoking the API endpoint.
```
- Affected Product Version:
v3.8.3
- OS, DB, other environment details and versions:
node v11.8.0 JDK 1.8.0_202 macOS 10.15 Chrome (79.0.3945)
- Steps to reproduce:
1. Login to the APPM Publisher
2. Refresh the page
Updated by Entgra Admin about 2 years ago
From Gitlab
------------------------
author: jayasanka-sack
created_at: 2020-01-14 12:30:46 IST +0530
updated_at: 2020-01-14 12:30:46 IST +0530
------------------------
changed milestone to %9
Updated by Entgra Admin about 2 years ago
From Gitlab
------------------------
author: inosh
created_at: 2022-01-24 12:29:31 IST +0530
updated_at: 2022-01-24 12:29:31 IST +0530
------------------------
assigned to @amnd1188
Updated by Entgra Admin about 2 years ago
From Gitlab
------------------------
author: amnd1188
created_at: 2022-01-24 16:25:20 IST +0530
updated_at: 2022-01-24 16:25:37 IST +0530
------------------------
Didn't get the above mentioned error but got the below one.
Tested environment - 5.0.0
[2022-01-24 13:14:34,167] ERROR - HandlerUtil Received 500 response for http request : GET https://localhost:8243/api/device-mgt/android/v1.0/enterprise/store-url?approveApps=true&searchEnabled=true&isPrivateAppsEnabled=true&isWebAppEnabled=true&isOrganizeAppPageVisible=true&isManagedConfigEnabled=true&host=https://localhost:9443. Error message: {"message":"Not found","errorItems":[]}
[2022-01-24 13:14:34,171] ERROR - InvokerHandler Error occurred while invoking the GET API endpoint.
Updated by Viranga Gunarathna over 1 year ago
- Project changed from product-uem 5.3.0 GA to 32