How to resolve message": "Invalid `success` param: URL host must be one of: localhost, cloud.appwrit
- 0
- Web
- Cloud
Hello, when setting up Appwrite initially I used localhost:3000
as my URL, and now that I am trying to deploy I got an error:
message": "Invalid `success` param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io
``` . How can I fix this?
What do you mean you used that as a url?
What's your code?
Sorry, I meant hostname
You mean you added a web platform? It should be a hostname only. No port. That said, you don't need to add localhost.
Again, whats your code?
Again, you don't need to add localhost
You put www.mysite.com
for the oauth success and failure URLs. Did you add that as a web platform?
yes, and the domain was added for the success and failure URLs. I don't understand why the error persists though
Sorry about the question as I am super new to Appwrite
Recommended threads
- Got message for auto payment of 15usd fo...
how did this happen? 1. i claimed my 50usd credits via jsm hackathon - https://hackathon.jsmastery.pro/ 2. it asked me which org. to apply the credits on, i se...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...