Envie
ReferenceErrors

guest-disabled

403 — this shop requires a logged-in customer to use wishlists.

https://docs.getenvie.com/errors/guest-disabled · 403 — the merchant turned off anonymous wishlists, and this request had no logged-in customer.

What to do with it

Storefront UIs should treat this as "prompt to log in", not as failure. The Envie components do this automatically; custom UIs can branch on the type:

import { EnvieApiError } from "@getenvie/client";

try {
	await envie.wishlist.toggle({ productId, handle });
} catch (error) {
	if (error instanceof EnvieApiError && error.problem.type.endsWith("/guest-disabled")) {
		window.location.href = "/account/login";
	}
}

You can read the policy up front instead of catching it: GET /v1/storefront/config returns guestEnabled (the SDK exposes it on the state snapshot as config.guestEnabled).

The setting lives in the merchant's admin under Envie → Settings.

On this page