What is a Counterparty API Error?
Last updated
Last updated
This error occurs when the Counterparty Protocol API rejects the transaction you were trying to create.
As discussed in the Counterparty API Communication Error! section in this User Manual, the first step to do in this situation is Reset your Server Settings to Default. If resetting your server settings does not help, it is most likely an issue with the underlying Counterparty Protocol and API. In this situation it is important to log your issue carefully to help the current developers of the Counterparty Protocol.
Below is an example of what a Counterparty API might look like in Freewallet 2.0.1:
Because these errors are not Freewallet related, but related entirely to the Counterparty protocol it is best to file an issue in the Counterparty Github if you are having problems creating transactions and seeing a "Counterparty API Error(s)" message.
Make sure to include a list of the steps to reproduce the unexpected behavior, screenshots of the issue and your debug history to help the Counterparty developers as much as you can to pin down bugs in the protocol.
---
At this time the most common issue for Counterparty API Errors is due to a change in Minting Open Fairmints. This example error might look like this:
In this example above, the solution is to change your Amount to "0".
With previous releases of Counterparty, you were allowed to specify the amount you wanted to mint in a fair mint. With a recent release of the Counterparty protocol, it seems that logic has been changed so that in “free” fair mints, you are no longer allowed to specify the quantity that you want to mint, and instead the maximum amount you’re allowed to mint is automatically minted when u enter a quantity of 0.
There is another type of fair mint where a user is charged a fee for minting, and if you are minting on this type of a fair mint, then you are allowed to specify a quantity.