<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged rejected</title>
<link>https://www.multichain.com/qa/tag/rejected</link>
<description>Powered by Question2Answer</description>
<item>
<title>publish data rejected.</title>
<link>https://www.multichain.com/qa/4099/publish-data-rejected</link>
<description>When I publish data into a stream, like this:&lt;br /&gt;
&lt;br /&gt;
publish 558085badaf9cbfc86b0c372addfc560 b875a05a6baaf92621fe185c7a8df74c 3139383330323033&lt;br /&gt;
&lt;br /&gt;
I ran the command above for several times in a loop. sometimes it works good. sometime I get errors(2 kinds of errors):&lt;br /&gt;
&lt;br /&gt;
error 1:&lt;br /&gt;
&lt;br /&gt;
error code: -4 The transaction was rejected: 18: bad-txns-inputs-spent&lt;br /&gt;
&lt;br /&gt;
error 2:&lt;br /&gt;
&lt;br /&gt;
error code: -4 The transaction was rejected! This might happen if some of the coins in your wallet were already spent, such as if you used a copy of wallet.dat and coins were spent in the copy but not marked as spent here.&lt;br /&gt;
&lt;br /&gt;
Why this command does not give a stable output (good or bad) or how can I avoid this kind of situation?&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Version is 27.&lt;br /&gt;
&lt;br /&gt;
thanks.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4099/publish-data-rejected</guid>
<pubDate>Wed, 22 Feb 2017 15:11:39 +0000</pubDate>
</item>
</channel>
</rss>