better to just use the url for the store key, no need for cid
how should we represent errors?