Back

Client REST-call vs. client Web-call

  • 0
  • Self Hosted
  • Web
sokratesli
9 Apr, 2024, 07:21

Hello I'm not sure if my assumption is correct. Can it be that a client REST-call returns 404 and a client web-call does not or creates the normal output for me? Situation: I have images with different authorizations in a storage. if you have access to the image, no errors should be output. If you do not have access, I would like an error message, e.g. 404. but I only get this error message with a REST call (with same user JWST) and not via web call. The normal output appears there. But the image is not accessible afterwards. How can I solve my problem? appwrite 1.5.4 // appwrite/sdk-for-web 14.0.0

TL;DR
Client REST-call returns 404 but client Web-call does not when accessing images with different authorizations. Developers seek help with resolving the issue where an error message should be displayed for unauthorized access. Solution: Check appwrite version compatibility and verify authorization settings for both types of calls.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more