I realized the built-in dropbox outh2 API has only 4 scopes.
Without sharing.write we are not able to create shareable URL from Dropbox. I followed this thread to create a custom Generic Credential Type
I managed to create one, add the necessary scope, and it worked for a while.
Later I found that the HTTP quest for dropbox shareable URL only output error
Is it normal that we have to reconnect the Dropbox OAuth2 from time to time? I need to avoid this situation because I don’t know how often I will have to reconnect.
This is their document, but I have no knowledge about OAuth2, so I cannot find if my question is answered there.
Yes, I set both. Credential and the token on my HTTP node,
Should I remove that Authorization header with the token? But if I do that, it will not work. How should I do it correctly?
if you are setting the Authorization header via the Send Headers property, then your Credentials from Authentication section won’t work and will be overwritten (or vice versa, didn’t check it, but the both uses the same field).
The proper way is to set the Authorization with your OAuth 2.0 with custom scope via Credentials and disable the Send headers option. Otherwise you’ll need to re-obtain the token every X days (depending on the Dropbox API)