I have two Macs: an M1 MacBook Pro, and an Intel iMac. Both run the same version of Dropbox 143.4.4161, both run the same version of MacOS 12.2.1. On the iMac, Dropbox behaves as it should. On the M1, it shows a bug. The bug is that the field named "Help" is empty on the M1, but it has the correct status on the Intel version. Here's an AppleScript that should behave the same way on both, but in fact it does not. I've reported it to Dropbox through an informal management channel, because the formal support channel did not understand what I was doing.
# Auth: Christopher Stone
# dCre: 2015/07/19 01:47
# dMod: 2015/09/06 13:00
# Appl: Dropbox and System Events
# Task: Get Dropbox Status
# Tags: @Applescript, @Script, @System_Events, @Dropbox, @Status
# Updated by Ike Nassi 2020-07-14
# Updated by Ike Nassi 2021-01-29 after the last version stopped working
# Updated by Ike Nassi 2022-03-04 after script stopped working on M1
#
set DropBoxStatus to "Not Synced"
repeat
tell application "System Events"
activate
tell UI element "Dropbox"
tell menu bar 2
tell menu bar item 1
set DropBoxStatus to (help as text)
end tell
end tell
end tell
end tell
display notification DropBoxStatus with title "Wait for Dropbox"
if (DropBoxStatus contains "Up to date" or DropBoxStatus is "missing value") then
return DropBoxStatus
else
delay 30
end if
end repeat