This is not enough for debugging. Try the following:
Make sure your file is valid markdown
If it is, and you're still getting the error, delete parts of the file and try archiving again, until you find that particular line or paragraph that causes the error
Share that error-causing piece of text in this ticket
execute
Archive tasks in this file
commend,error info isobsidian version: v1.4.16