The SOAR App Update feature which can be found by navigating to the Apps page and clicking the "App Updates" button, fails with error "Server request failed".
The App Updates feature was failing due to an App installed with an invalid version number. In this example the version number is "1.0-test".
$PHANTOM_HOME/var/log/phantom/wsgi.log:
{"log_type": "django", "component": "webserver", "product_version": "7.0.0.162", "time": "2025-08-26T15:19:28.227144", "logger": "phantom_ui.middleware.exception_middleware", "pid": 2233915, "level": "ERROR", "file": "/opt/phantom/www/phantom_ui/middleware/exception_middleware.py", "line": 217, "message": "Server Error: Invalid version: '1.0-test'", "ctx_request_id": "cb281e7565ceb71b819c83b195ffb3db", "ctx_request_method": "GET", "ctx_user_id": 70, "ctx_request_remote_addr": "136.226.73.5", "ctx_request_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36", "ctx_request_view": "get_current_apps", "ctx_request_route": "^get_current_apps/$", "": true, "exc_info": ["Traceback (most recent call last):", " File \"/opt/phantom/usr/lib/platform/lib/python3.9/site-packages/django/core/handlers/base.py\", line 197, in _get_response", " response = wrapped_callback(request, *callback_args, **callback_kwargs)", " File \"/opt/phantom/www/phantom_ui/ui/ui_utils.py\", line 214, in wrapper", " return func(request, *args, **kwargs)", " File \"/opt/phantom/www/phantom_ui/phapps/views.py\", line 777, in get_current_apps", " apps_list = [", " File \"/opt/phantom/www/phantom_ui/phapps/views.py\", line 780, in <listcomp>", " \"app_version\": max(app.known_versions, key=lambda x: Version(x)),", " File \"/opt/phantom/www/phantom_ui/phapps/views.py\", line 780, in <lambda>", " \"app_version\": max(app.known_versions, key=lambda x: Version(x)),", " File \"/opt/phantom/usr/lib/platform/lib/python3.9/site-packages/packaging/version.py\", line 202, in __init__", " raise InvalidVersion(f\"Invalid version: {version!r}\")", "packaging.version.InvalidVersion: Invalid version: '1.0-test'"]}
To resolve the issue remove the app with the invalid version number. If use of this app and version are still needed, replace the invalid version number with standard versioning.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
01-Oct-2026
|
Initial Release |