Skip to main content
bkarl
Staff
Staff
February 5, 2026

Troubleshooting Tip: How to fix the GUI 500 internal server error when administrator is creating a new local user on v6.6.7

  • February 5, 2026
  • 0 replies
  • 331 views
Description This article describes how to fix the bug that does not allow the creation of a new local user and displays '500 Internal Server Error'.
Scope FortiAuthenticator v6.6.7.
Solution

On FortiAuthenticator v6.6.7, an issue exists with creating new local users.

The page displays the following '500 Internal Server Error' with the next error dump code:

 

500.PNG

 

When facing this issue, collect information on debug mode from the GUI, Disk Monitor, Kernel, Web Server, and WAD service.

The output of the GUI debug should display a similar result as the following:

 

ValueError: too many values to unpack (expected 2)
2026-01-27 19:41:28,178 error django.request log 1555 140123865536192 Internal Server Error: /admin/local_user/user/add/
Traceback (most recent call last):
File "/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/contrib/admin/options.py", line 688, in wrapper
return self.admin_site.admin_view(view)(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/views/decorators/cache.py", line 62, in _wrapper_view_func
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/contrib/admin/sites.py", line 242, in inner
return view(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/views/decorators/debug.py", line 92, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "./fac/fac/apps/fac_auth/decorators.py", line 134, in wrapper
File "./fac/fac/apps/local_user/admin/auth_user.py", line 552, in add_view
File "./fac/fac/apps/fac_auth/admin/helpers.py", line 49, in add_view
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/views/decorators/debug.py", line 92, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/contrib/auth/admin.py", line 119, in add_view
return self._add_view(request, form_url, extra_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/contrib/auth/admin.py", line 147, in _add_view
return super().add_view(request, form_url, extra_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "./fac/fac/common/admin.py", line 277, in add_view
File "./fac/fac/common/admin.py", line 99, in add_view
File "/lib/python3.11/site-packages/django/contrib/admin/options.py", line 1886, in add_view
return self.changeform_view(request, None, form_url, extra_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 46, in _wrapper
return bound_method(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/utils/decorators.py", line 134, in _wrapper_view
response = view_func(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/contrib/admin/options.py", line 1747, in changeform_view
return self._changeform_view(request, object_id, form_url, extra_context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3.11/site-packages/django/contrib/admin/options.py", line 1805, in _changeform_view
return self.response_add(request, new_object)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "./fac/fac/apps/local_user/admin/auth_user.py", line 384, in response_add
File "./fac/fac/apps/fac_auth/utils.py", line 1411, in map_local_user_to_fac_ldap
ValueError: too many values to unpack (expected 2)

 

Refer to the following article to learn how to collect specific debugs: Troubleshooting Tip: How to debug FortiAuthenticator Services.

 

Note: To fix this issue, the administrator must upgrade to v6.6.8 or v8.0.0.