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

Why doesn't the getFile method return []body #1284

Open
vorontsoved opened this issue Apr 26, 2024 · 2 comments
Open

Why doesn't the getFile method return []body #1284

vorontsoved opened this issue Apr 26, 2024 · 2 comments

Comments

@vorontsoved
Copy link

vorontsoved commented Apr 26, 2024

I wanted []byte to load the private url of the file into the getFiles method, but this method will not return anything, I don’t understand why or this is a bug? It might be worth adding a http download to this url to the method and getting []byte

@lorenzoaiello
Copy link
Contributor

I'm not sure I understand your question - can you please elaborate?

@lorenzoaiello lorenzoaiello added the feedback given When a review has been conducted and awaiting the response from the comitter(s) label Jul 14, 2024
@eric2788
Copy link

eric2788 commented Aug 27, 2024

my GetFiles with url private download url is returning html instead of bytes, i have files:read permission, not sure why

edit: user oauth token fixed the issue but bot oauth token not, I have to implement my own get request function

@lorenzoaiello lorenzoaiello added bug [issue] bug help wanted needs investigation and removed feedback given When a review has been conducted and awaiting the response from the comitter(s) labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants