Mintacoin
Search
K
Links
🐞

Errors

Info about responses generated by Mintacoin

Response parameters

Mintacoin uses conventional HTTP response codes to indicate the success or failure of an API request. Codes in the 2xx range indicate success and codes in the 4xx code indicate that the server cannot process the request probably due to customer error (for example, the body parameters are invalid, the requested asset doesn't exist, etc). The error response has the following format:
{
"code": "blockchain_not_found",
"detail": "The introduced blockchain doesn't exist",
"status": 400
}
Parameter
Type
Description
code
String
Code result that communicates the failure.
detail
String
Description of the error response.
status
Integer
Status code of the response.

Standard error responses

These are the errors managed by Mintacoin:
Code
Detail
Status
bad_request
The body params are invalid
400
asset_not_found
The requested asset doesn't exist.
400
blockchain_not_found
The introduced blockchain doesn't exist.
400
decoding_error
Address, signature or seed words is invalid.
400
encryption_error
Error during encryption.
400
invalid_address
The address is invalid.
400
invalid_seed_words
The seed words are invalid.
400
invalid_address
The address is invalid.
400
invalid_supply_format
The submmited supply format is invalid. This must be a number greater than zero.
400
wallet_not_found
The submmited address doesn't exist or doesn't have an associated blockchain.
400
destination_trustline_not_found
The destination account doesn't have a trustline with the asset
400
source_balance_not_found
The source account doesn't have a balance of the given asset
400
insufficient_funds
The source account doesn't have enough funds to perform the payment
400
unauthorized
Invalid authorization Bearer token.
401
unauthorized
Missing authorization Bearer token.
401
server_error
Something went wrong on Mintacoin.
5xx