Skip to content
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

Headers Not defined error on function uploadAllEntities #217

Open
samitsdei opened this issue Feb 17, 2023 · 2 comments
Open

Headers Not defined error on function uploadAllEntities #217

samitsdei opened this issue Feb 17, 2023 · 2 comments
Labels
Under asessment We are assessing this issue

Comments

@samitsdei
Copy link

Hello team,

when I try to call the below code snippet, I get the error.

const uploadMetaResult = await arDrive.uploadAllEntities({
entitiesToUpload: [{ wrappedEntity, destFolderId }]
});

Error : ReferenceError: Headers is not defined

Please help with this how to pass headers in the above snippet.

Thanks.

@agsuy agsuy added the Under asessment We are assessing this issue label Apr 7, 2023
@agsuy
Copy link
Contributor

agsuy commented Apr 7, 2023

Sorry for the late reply. We are looking into this.

@karlprieb
Copy link
Collaborator

karlprieb commented Apr 8, 2023

Hey @samitsdei!
To help you we will need additional information, like which NodeJS version are you using, and how are you wrapping your entity? Also, what's the value of destFolderId are you using?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Under asessment We are assessing this issue
Projects
None yet
Development

No branches or pull requests

3 participants