Skip to content

ogygia error

remote_arg_not_data

a remote function's argument carried an ogygia ‹kind› value. Arguments sent from the browser must be plain data.

A remote function was called from the browser with an argument that holds an ogygia value: a region, a snippet, a function, a wired class instance, a store or a derived store. The server refuses it with a 400 and runs nothing. Those values travel from the server to the browser only.

Send the plain data the server needs instead (an id, the props, a slug), and build the value on the server from it.

Every error and warning