Import attachments only from Mac Mail

it is the line "set theLocaton to create location “/Inbox” in database “Filiing”

a location is not an object, so it cannot be “created” and you would want to get the object, not create it
I think it will work if you switch “record” for “location”

or “import theAttachment to incomming group”

Attempt to do this from a newly created account with just Mail and DTP configured normally. See if the needed menu is missing.

When I had issues with disks that took 3 weeks to diagnose, this was an expert Apple employee’s idea to segregate issues in configuration.

Thanks @FrederickN, but I even get a missing value error even using the Devonthink script that uses the

set theAttachmentRecord to import theFile to theGroup

Are you running the Pro edition of DEVONthink?

Yes I am. 3.8.3

Any thoughts on this anyone?