Hello Siwive,
I got the same issue as you when following the steps from the official documentation.
Following a tutorial I found in Youtube (
), when choosing an API, I selected Dropbox Legacy API (even if it's deprecated) and it worked for me.
Hope this helps.
Regards,
Magali