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

unable to access user_uploads images #107

Open
lgsandy opened this issue Jul 14, 2023 · 5 comments
Open

unable to access user_uploads images #107

lgsandy opened this issue Jul 14, 2023 · 5 comments
Labels

Comments

@lgsandy
Copy link

lgsandy commented Jul 14, 2023

I have implemented zulip chat in my web app with zulip-js. I have uploaded images from chat with zulip api but while accessing in web with url i am getting 403 error.
Zulip error
zulip file

@karlstolley
Copy link

Hi @lgsandy -- when you say "accessing in the web," do you mean you're trying to get your images outside of Zulip by navigating directly to one of those URLs?

@lgsandy
Copy link
Author

lgsandy commented Jul 25, 2023

I am fetching chat from zulip wth zulip-js and in that i am getting image url that url is showing 403.

@karlstolley
Copy link

Got it. And you're doing that locally? Are you certain that the web server has read access to the location where the files are uploaded?

@lgsandy
Copy link
Author

lgsandy commented Jul 31, 2023

Yes in local. After logged in in zulip app in same browser that url is working.But through zulip-js lib it is not accessing.

@karlstolley
Copy link

Hmmmmm. @alexmv, might you have an idea of what's going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants