Back

Issue - "Invalid `success` param: URL host must be one of: localhost"

  • 0
  • Web
  • Cloud
ReactingMe
22 Jun, 2024, 13:47

Can you help me resolve this issue. I don't understand what I'm not doing or doing wrong. Running a search shows alot of people has the same issue, but not getting much info on how they were able to resolve it. Here is the issue:

TypeScript
{
  "message": "Invalid `success` param: URL host must be one of: localhost, cloud.appwrite.io, appwrite.io, mysite.com",
  "code": 400,
  "type": "general_argument_invalid",
  "version": "1.5.7"
}
TL;DR
Developer fell asleep while getting help yesterday. Received an error message about 'Invalid success param' - URL host must be one of a few specific options. Code runs fine locally but not in the live environment. Looking for help to resolve the issue.
ReactingMe
22 Jun, 2024, 13:48

Moreover, it works as expected locally.

Ryan
22 Jun, 2024, 13:49

What is the code for where this error is occurring?

ReactingMe
22 Jun, 2024, 13:57

Hello @Ryan Ryan, thanks for responding. Here below is the code:

TypeScript
ReactingMe
22 Jun, 2024, 13:58

@Steven was helping me with the issue yesterday, but it was late for me ... fell asleep with laptop on my lap ..lol.

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