Can't run extract

I’ve uploaded my exported file and I want to run the last step for the import.

But if I look at the job list there’s an import process error.
[0][root@data]# docker exec -ti docker-mattermost-1 mmctl import job list --local

ID: tk65synq5ffitnko6uzfrumuqo

Type: import_process

Status: error

Created: 2026-02-12 16:26:11 +0100 CET

Started: 2026-02-12 16:26:18 +0100 CET

Data: map[error:Error during job execution. — BulkImport: User AuthService and AuthData are mutually inclusive. extract_content:true import_file:wfxgmwxbepdj58xkg58wxf6dbo_6cf85fx7nbnwjqresq3mamwbbr_export.zip line_number:86 local_mode:false]

I’m importing a file from version 10 to version 11.

Any ideas about how to deal with this situation?

looking at line 86 in the import.jsonl file extracted from the /import/wfxgmwxbepdj58xkg58wxf6dbo_6cf85fx7nbnwjqresq3mamwbbr_export.zip

I can find auth_service but not auth_data:
{“type”:“user”,“user”:{“username":“full-name”,“email”:"``name@domain.com``”,“auth_service”:“email”,“nickname”:“”,“first_name”:“XXX”,“last_name”:“XXX”,“position”:“”,“roles”:“system_user”,“locale”:“fr”,“delete_at”:0,“teams”:[{“name”:“ZZZ”,“roles”:“team_user”,“channels”:[{“name”:“town-square”,“roles”:“channel_user”,“notify_props”:{“desktop”:“default”,“mobile”:“default”,“mark_unread”:“all”},“favorite”:false,“mention_count”:0,“mention_count_root”:0,“urgend_mention_count”:0,“msg_count”:0,“msg_count_root”:0,“last_viewed_at”:0},{“name”:“off-topic”,“roles”:“channel_user”,“notify_props”:{“desktop”:“default”,“mobile”:“default”,“mark_unread”:“all”},“favorite”:false,“mention_count”:0,“mention_count_root”:0,“urgend_mention_count”:0,“msg_count”:0,“msg_count_root”:0,“last_viewed_at”:0},{“name”:“club-industrie”,“roles”:“channel_admin channel_user”,“notify_props”:{“desktop”:“default”,“mobile”:“default”,“mark_unread”:“all”},“favorite”:false,“mention_count”:1,“mention_count_root”:1,“urgend_mention_count”:0,“msg_count”:0,“msg_count_root”:0,“last_viewed_at”:0}]}],“tutorial_step”:“0”,“notify_props”:{“desktop”:“mention”,“desktop_sound”:“true”,“email”:“true”,“mobile”:“mention”,“mobile_push_status”:“online”,“channel”:“true”,“comments”:“never”,“mention_keys”:“”}}}

And searching for AuthService and AuthData in the whole import.jsonl file doesn’t give any result

Actually the import.jsonl file is pretty straightforward and the import file itself only consist of this file and a data folder with the attachments (image or pdf). So it might be a configuration issue.
But where to look at?

Hi John, thanks for your answer, I was expecting something in that direction.

I need to check with an export from v11 how it got changed

after checking it looks the same.

In my v10 import file I have “auth_service”:“email”

and in the v11 export file with few contacts I find “auth_service”:null

Should I update my import file to set the variable auth_service to null instead of email?

As I’m new to MM I’m a bit tinkering. Actually mmctl import validate was the compass to help me. I opened the import.jsonl file and removed extras lines or corrected “auth_service”:“email” to “auth_service”:null. After a few rounds I was able to import my contacts except the attachments for which I got this kind error for each attachments.

import validation error in w3mmbt6nxfyk8d63rz17f1pzoa_export.zip->w3mmbt6nxfyk8d63rz17f1pzoa_export/import.jsonl:713 field “direct_post.attachments[0]”: missing attachment file “data/20260216/teams/noteam/channels/bkizpb6y6jyxxc6fepzcfcq31a/users/wa7b8usj37fmjk6bca86bk8shy/c6sb7ft7oig6tfr889k16ae5qo/RO Mensuelle^M2026 02 17 FHYB2 [Enregistré automatiquement].pptx”; we found a match outside the “data/” folder “w3mmbt6nxfyk8d63rz17f1pzoa_export/data/20260216/teams/noteam/channels/bkizpb6y6jyxxc6fepzcfcq31a/users/wa7b8usj37fmjk6bca86bk8shy/c6sb7ft7oig6tfr889k16ae5qo/RO Mensuelle^M2026 02 17 FHYB2 [Enregistré automatiquement].pptx”

The attachements are in the .zip file but mmctl doesn’t seem to find the right path saying it couldn’t find the file using the correct path but found the file outside the data/ folder which is unclear for me.

I’m running MM on Docker so maybe the Path has to be different than the way it’s declared in the jsonl file. I’ve tried different version were not successful so I gave up for the attachments.