Problem with auth code

When trying to add an account via auth code for a headless linux machine, I get this error after running insync-headless account add -a [code] cloud -gd

Sorry, an error occurred: (<HTTPStatus.UNAUTHORIZED: 401>, b’{\n “error”: “unauthorized_client”,\n “error_description”: “Unauthorized”\n}’)

Hi! What’s your headless version, please?

My current headless version is: 3.1.6.10648. Using aarch64 architecture, and this version was the only one I could find on the forums.

I see! Could you please provide your Linux distro and version?