2026-04-20 14:27:38,634 ERROR [Zope.SiteErrorLog:35][waitress-3] MissingParameterError: http://localhost:8080/@sites
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 390, in publish_module
Module ZPublisher.WSGIPublisher, line 284, in publish
Module ZPublisher.mapply, line 98, in mapply
Module ZPublisher.WSGIPublisher, line 68, in call_object
Module plone.rest.service, line 21, in __call__
Module plone.restapi.services, line 19, in render
Module plone.distribution.services.sites.add, line 49, in reply
Module plone.distribution.api.site, line 165, in create
Module plone.distribution.api.site, line 104, in _create_site
Module plone.distribution.handler, line 44, in default_handler
Module plone.exportimport.importers, line 59, in import_site
Module plone.exportimport.importers.content, line 204, in import_data
Module plone.exportimport.importers.base, line 88, in import_data
Module plone.exportimport.importers.content, line 164, in do_import
Module plone.exportimport.utils.content.import_helpers, line 333, in set_ordering
Module plone.exportimport.utils.content.core, line 64, in object_from_uid_or_path
Module decorator, line 235, in fun
Module plone.api.validation, line 67, in wrapped
plone.api.exc.MissingParameterError: Missing required parameter(s): obj
The result of
unrestrictedTraversemight beNone. But the code does not check it. If for some reason the path is wrong the code fails:plone.exportimport/src/plone/exportimport/utils/content/core.py
Lines 62 to 64 in cfeccda
In the other failure path the function returns
None- this should be the case here too.