First of all, don't forget to unzip and install files in notes20250521.zip file from the previous message attachment, into the notes folder
If you are using the Kobo Telnet curl, the command on Kobo telnet under notes folder should be as follows to get the refresh code:
Code:
./curl --cacert ./ca-bundle.crt -X POST https://api.dropboxapi.com/oauth2/token \
-u YOUR_APP_KEY:YOUR_APP_SECRET \
-d code=<ACCESS_CODE_GENERATED> \
-d grant_type=authorization_code
Access codes generated from the web page are one time use only, and time restricted. Once you get the Refresh Code, then you can use it any time.