How to resolve message": "Invalid `success` param: URL host must be one of: localhost, cloud.appwrit
- 0
- Web
- Cloud
![](https://cdn.discordapp.com/avatars/523863374417625127/8225b284fa1f86f3c44d3655e9ac6e91.webp)
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?
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
What do you mean you used that as a url?
What's your code?
![](https://cdn.discordapp.com/avatars/523863374417625127/8225b284fa1f86f3c44d3655e9ac6e91.webp)
Sorry, I meant hostname
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
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?
![](https://cdn.discordapp.com/avatars/523863374417625127/8225b284fa1f86f3c44d3655e9ac6e91.webp)
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
Again, you don't need to add localhost
![](https://cdn.discordapp.com/avatars/462046107556511744/504fd808296728e8e89d82b8ea1e77a9.webp)
You put www.mysite.com
for the oauth success and failure URLs. Did you add that as a web platform?
![](https://cdn.discordapp.com/avatars/523863374417625127/8225b284fa1f86f3c44d3655e9ac6e91.webp)
yes, and the domain was added for the success and failure URLs. I don't understand why the error persists though
![](https://cdn.discordapp.com/avatars/523863374417625127/8225b284fa1f86f3c44d3655e9ac6e91.webp)
Sorry about the question as I am super new to Appwrite
Recommended threads
- Incorporate appwrite with spring boot
I am trying to upload files from a Spring boot app to appwrite. I've checked the SDK on maven but it seems to be for Android. Do I have to call Appwrite's REST ...
- User is not authorized to read collectio...
When i tried to make a read call to my db it always returns that my user is not authorized to perform such action am i doing something wrong?
- How to cron function with specified end ...
I have function built with hono. support like / , /data, /data/2222. I want to schedule triggger for specific event like /data. orrr event better /data/2222 . i...
![](/images/bgs/pre-footer.png)