-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
this.fetch is not a function error received #1132
Comments
The Dropbox JavaScript SDK uses |
It maybe overwritten by something else but not sure. In the meantime, I explicitly imported
|
Thanks for following up. I'm glad to hear you got this working. It sounds like this is related to something in that particular environment, but if you find there's something in the Dropbox SDK itself that needs to be addressed, please let us know so we can look into it. |
The bug occurs upon calling a next.js api which uses the
filesUpload()
orfilesCreateFolderV2()
function. It will automatically close the request returningthis.fetch is not a function
error.Regarding when the error occurs during the api call, it seems to occur within the instance/import itself since it is the only thing logged during the request which means it did not proceed into the middlewares/services.
The bug seems to only occur on the deployed application. It cannot be replicated in local. We also have updated the environment variables (Client Secret, Refresh Token, Access Token) but to no avail.
Dropbox Instance:
Screenshots:
Versions
The text was updated successfully, but these errors were encountered: