I am using the js sdk like this
const client = new dropbox.Dropbox({
accessToken: config.accessToken,
clientId: config.appKey,
clientSecret: config.secretKey,
});
dbx.auth.setRefreshToken(config.refreshToken);
await client.filesUpload({
path: '/folder/image.jpg',
contents: buffer,
});
But I am getting this error
'No auth function available for given request'