Join the Webstudio community

Updated 6 months ago

Publish Failed

At a glance

The community member encountered an error when trying to publish a website, either on wstd.io or their own custom domain. The error message indicated that the "destination" field was required and expected either "saas" or "static" values. In the comments, another community member suggested the issue should be fixed, and a new error message was provided: "Invalid discriminator value. Expected 'saas' | 'static'". The community members advised refreshing the builder and trying again, as something was likely cached. Finally, the issue was resolved, and the community member expressed gratitude.

When I tried to publish a website regardless of wstd.io or my own custom domain, it failed with following error message:

[ { "expected": "'saas' | 'static'", "received": "undefined", "code": "invalid_type", "path": [ "destination" ], "message": "Required" } ]
B
C
5 comments
Should be fixed. Try again please.
New error message:
[ { "code": "invalid_union_discriminator", "options": [ "saas", "static" ], "path": [ "destination" ], "message": "Invalid discriminator value. Expected 'saas' | 'static'" } ]
Please refresh the builder and try again. Something is cached probably.
OK, seems to work now, thanks.
Add a reply
Sign up and join the conversation on Discord