<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[ma-json-store stopped working]]></title><description><![CDATA[<p dir="auto">Dear Mango community,</p>
<p dir="auto">I have updated MangoES yesterday to version 3.6.0-beta.3. This version I am failing to create a JSON store entry. So a general test on the ma-json-store is done by going to examples -&gt; Utilities -&gt; JSON Store.</p>
<p dir="auto">After opening the example I get a not-found error which is fine and should work as expected.</p>
<pre><code>Failed to load resource: the server responded with a status of 404 (Not Found) /rest/v1/json-data/test:1
</code></pre>
<p dir="auto">But after trying to save this example to JSON store ( not dashboard page but a random entry of objects ) I get an error which did not occur on previous version.</p>
<pre><code>mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78 POST http://192.168.0.119/rest/v1/json-data/test?editPermission=user&amp;name=&amp;publicData=false&amp;readPermission=user 422 (Unprocessable Entity)

(anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
(anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
(anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
(anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
(anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
$digest @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
$apply @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
(anonymous) @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78
dispatch @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:39
O.handle @ mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:39
mangoUi~ngMango~ngMangoServices.js?v=2c18dd48ed559cc129bd:78 

Possibly unhandled rejection: {"data":{"xid":"test","name":"","modelType":"JSON_DATA","validationMessages":[{"level":"ERROR","message":"Required value","property":"name"}],"publicData":false,"jsonData":{"name":"Hello","phone":"5536","address":"Random address"},"readPermission":"user","editPermission":"user","id":-1},"status":422,"config":{"method":"POST","transformResponse":[null],"jsonpCallbackParam":"callback","data":{"name":"","readPermission":"user","editPermission":"user","publicData":false,"jsonData":{"name":"Hello","phone":"5536","address":"Random address"},"dataPath":null,"xid":"test"},"url":"/rest/v1/json-data/test","params":{"name":"","readPermission":"user","editPermission":"user","publicData":false},"headers":{"Accept":"application/json, text/plain, */*","X-Requested-With":"XMLHttpRequest","Content-Type":"application/json;charset=utf-8","X-XSRF-TOKEN":"7b9794fd-1330-47be-9265-e0d433554619"},"cached":false,"timeout":30000},"statusText":"Unprocessable Entity","xhrStatus":"complete","mangoStatusText":"Validation error, property ''name'' — Required value","mangoStatusTextShort":"Validation error","mangoStatusTextFirstValidationMsg":"Required value","resource":{"name":"","readPermission":"user","editPermission":"user","publicData":false,"jsonData":"...","dataPath":null,"xid":"test"}}
</code></pre>
<p dir="auto">Logged in as superadmin and using the latest Mango version.</p>
<p dir="auto">Can somebody comment on why I get <em>(Unprocessable Entity)</em> error while trying to create a JSON store entry?</p>
<p dir="auto">When navigated  to JSON store page and trying to create a new entry there, I am successful in creating an entry there.</p>
<p dir="auto">Thanks,<br />
Thomas</p>
]]></description><link>https://forum.mango-os.com/topic/4182/ma-json-store-stopped-working</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 09:22:24 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/4182.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Apr 2019 13:56:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to ma-json-store stopped working on Fri, 26 Apr 2019 16:07:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thomaseinasto">@<bdi>ThomasEinasto</bdi></a> You need to set a name on the JSON store item. I'll update the example to set a name.</p>
]]></description><link>https://forum.mango-os.com/post/21968</link><guid isPermaLink="true">https://forum.mango-os.com/post/21968</guid><dc:creator><![CDATA[Jared Wiltshire]]></dc:creator><pubDate>Fri, 26 Apr 2019 16:07:23 GMT</pubDate></item></channel></rss>