I am trying to push an image to appwrite storage bucket from vscode WebView (which under the hood uses html/css and js inside an iframe origin) but my request is getting rejected. It did be great if anyone helps us. Thanks
I found that for some reason my origin/request is blocked or rejected. Though all the key's are correct
- Have you added the platform for this implementation?
- I'm not sure, but does the endpoint need to be a
vscode-webview? As far as I know, the endpoint is supposed to be the URL of your appwrite instance.
Thanks for replying sadwan but @Meldiron as resolved my issue. It was related to cors as I have not linked my extension to apperite dashboard by giving the url.
What exactly did you do? You added a web platform? And what did you put as the hostname? The VSCode extension ID?
[SOLVED] Building VS Code Extension + Appwrite
Hey @Steven I had just added * as hostname
I tried with vs code extension id but it was not working. It was rejecting my origin
interesting...thanks for the insight!
Recommended threads
- Functions executed by events does not ap...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). When functions are triggered by an event (eg. databases.\*tables.\*.rows.\*.create) doe...
- Some pages on the console are not workin...
Hello, Running self-hosted Appwrite version 1.9.0 (with console 7.8.26). I identified that some pages are not working on the console. This is at least the case ...
- THE COLUMNS STUCK ON PROCESSING HOW DO I...
I HAVE SELF HOSTED THE APPWRITE ON VPS