{"version":"2.1.281","anchor":"storeset-error-helper-generalized","canonical_anchor":"storeset-error-helper-generalized","heading":"store.set error helper generalized","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/storeset-error-helper-generalized","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### store.set error helper generalized\n\nArtifact errors about non-JSON values now name whether `$.store.set` or `$.state.set` was called\n\n**What**\n\nWhen an artifact tries to save a value that is not valid JSON (the plain text data format artifacts store values in), the error now names the method that was actually called. That can be:\n\n- `$.store.set`\n\n- `$.state.set`\n\nThe message still includes \"value is not JSON data\".\n\n**Why**\n\nAn error that names the right method makes it easier to find the line in an artifact that saved the bad value."}