<div dir="ltr">Hello Matthias, looks like the problem come from emacs json format. If I pass the json without calling emacs json-pretty-print-buffer, everything works. Don't know why yet, maybe look into a bit later. Thx for the reply.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 30, 2013 at 7:50 PM, Matthias Radestock <span dir="ltr"><<a href="mailto:matthias@rabbitmq.com" target="_blank">matthias@rabbitmq.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 30/05/13 16:46, Chengwei Ding wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I try to import a json config via rabbitmqadmin, it return 500 error<br>
like below. Some json configure<br>
could be imported through gui without problem (login as guest:guest).<br>
<br>
Anybody has any idea?<br>
</blockquote>
<br></div>
What version of rabbit are you running? <br></blockquote><div> </div><div>My testing env is centos6 x64 + rabbit 3.0.4</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Are you saying that the *same* json imported fine through the gui?<br></blockquote><div><br></div><div>You are right . It's "same" not "some". </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Where did the json you are trying to import originate? From a previous export or was it generated by some other process / by hand?<br></blockquote><div><br></div><div>it was generated from a local test machine running 3.0.1</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Can you post the json?<br>
<br>
<br>
Regards,<br>
<br>
Matthias.<br>
</blockquote></div><br></div></div>