Developer forum

Forum » Dynamicweb 10 » Error exporting Users

Error exporting Users

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,
I am running a live project on DW10.22.15 (hosted in Dynamicweb cloud)
I am trying to export users from Backend using the standard Export functionality and the Default preset.

I get this error:
 

2026-04-22 11:34:40.1279: Error while saving command log for model. Model Type: 'Dynamicweb.Users.UI.Models.UserListModel', Model ID: ''.. System.ArgumentException: Invalid revision data. Original model or updated model do not have the same type: 'Dynamicweb.Users.UI.Models.UserListModel'.
   at Dynamicweb.CoreUI.Data.CommandLog.CommandLogModelData.ValidateModelData(Object original, Object updated, Type modelType)
   at Dynamicweb.CoreUI.Data.CommandLog.CommandLogModelData.Create(Object original, Object updated, Type modelType)
   at Dynamicweb.CoreUI.Data.CommandLog.CommandLog.SetModelData(Object original, Object updated, Type modelType)
   at Dynamicweb.Management.Api.Controllers.Api.DataController.RegisterCommandLog(Type commandType, String commandBody, Type modelType, Object originalModel, Object updatedModel, CommandResult result, CommandBase command)
2026-04-22 11:34:40.1383: Request headers: [
  "Accept",
  "Accept-Encoding",
  "Accept-Language",
  "Authorization",
  "Connection",
  "Content-Length",
  "Content-Type",
  "Cookie",
  "Host",
  "Referer",
  "User-Agent",
  "sec-ch-ua-platform",
  "sec-ch-ua",
  "sec-ch-ua-mobile",
  "origin",
  "sec-fetch-site",
  "sec-fetch-mode",
  "sec-fetch-dest",
  "priority"
]
2026-04-22 11:34:40.1386: Request item keys: [
  "Dynamicweb.Environment.Web",
  "__AuthorizationMiddlewareWithEndpointInvoked",
  "Dynamicweb|UserContext",
  "DW_Current_ExecutionTable"
]
2026-04-22 11:34:40.1388: Request form: []

Is this a bug or something to do with my instance?
Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Also, when I try to export a custom field, I get this error:
An unhandled error occurred: Property CustomFields|AccessUser_DefaultLocation does not exist on Dynamicweb.Users.UI.Models.UserDataModel, Dynamicweb.Users.UI

I added a custom field on the interface using "Manage columns" then tried the export again.

Adrian

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I can reproduce you second issue. https://doc.dynamicweb.dev/documentation/fundamentals/dw10release/releasenotes/workiteminfo.html?workitemid=28026

I think your first issue might have been fixed in later versions - at least I can do an export on the latest. The above contains a fix for both.

We have just made some changes to export to excel from the backend in latest R0 - maybe R1 - that makes exporting large amounts of data better.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Will retest in future versions.

Thank you,

Adrian

 

You must be logged in to post in the forum