Hi,
I'm using the Box Java SDK in my Android app to access and preview files. I’m trying to generate a preview link using:
However, previewLink is always null, even though the file is a supported type (PDF, DOCX, etc.).
What I’ve Checked:
The file is uploaded and accessible.
The file type is supported for preview.
I’m authenticated using a valid developer token.
The file has been uploaded for a while, so it should be processed.
Questions:
Are there specific scopes or permissions required for getPreviewLink() to work?
Is this method supported in Android, or should I use a different approach?
Any known issues or workarounds?
Thanks in advance for any help!
Hi,
I'm using the Box Java SDK in my Android app to access and preview files. I’m trying to generate a preview link using:
However, previewLink is always null, even though the file is a supported type (PDF, DOCX, etc.).
What I’ve Checked:
The file is uploaded and accessible.
The file type is supported for preview.
I’m authenticated using a valid developer token.
The file has been uploaded for a while, so it should be processed.
Questions:
Are there specific scopes or permissions required for getPreviewLink() to work?
Is this method supported in Android, or should I use a different approach?
Any known issues or workarounds?
Thanks in advance for any help!