Skip to main content
All FlowGuard API errors return a JSON body with an "error" field and optionally a "message" field with more detail.
{
  "error": "Stream not found",
  "message": "No stream with id abc123 exists in the database"
}

HTTP Status Codes

CodeMeaning
400Bad request — missing or invalid parameters
401Authentication required — missing x-user-address header
403Forbidden — calling wallet is not authorized for this action
404Resource not found
409Conflict — duplicate action or unsafe state
500Internal server error

Common Errors by Product

Streams

ErrorCause
Sender and recipient are requiredMissing addresses in POST /streams/create
Invalid address typeSender or recipient is not a P2PKH cash address
Stream is not pendingFund called on a non-PENDING stream
Stream is not activeClaim called on a non-ACTIVE stream
Only the stream recipient can claim fundsWrong wallet calling claim
Stream is not cancelableCancelable flag was false at creation
Only sender can cancelWrong wallet calling cancel
Unsafe cancel destinationContract sender hash resolves to different address than signer — pass "allowUnsafeRecovery": true to override
Transaction hash not found on chipnettxHash not yet confirmed or wrong network
Funding transaction does not include the expected contract outputTransaction sent to wrong address or insufficient amount

Airdrops

ErrorCause
Campaign is not activeStatus is PENDING, PAUSED, or CANCELLED
Claim limit reached for this addressmaxClaimsPerAddress exceeded
Address not eligible for this airdropAddress not in merkle tree (KYC campaign)
Merkle tree not generated yetKYC campaign must generate merkle before funding
Only the campaign creator can pauseWrong wallet

Payments

ErrorCause
Invalid payment intervalMust be DAILY, WEEKLY, BIWEEKLY, MONTHLY, or YEARLY
Only active payments can be pausedStatus is not ACTIVE
Only paused payments can be resumedStatus is not PAUSED
Payment is already cancelledCannot cancel twice

Vaults

ErrorCause
Exactly 3 signers are requiredVault creation requires exactly 3 signers
Exactly 3 signer public keys are requiredMissing pubkeys for covenant deployment
Only the vault creator can deposit fundsNon-creator calling deposit
Initial vault funding transaction must include a mutable state NFTMissing NFT on first deposit

Proposals

ErrorCause
Proposal must be approved before execution signingNot enough approvals yet
Only vault signers can participate in payout execution signingNon-signer calling execute
At least two signer keys are requiredOnly one signer available in the vault
Proposal creation transaction does not include the expected covenant NFT outputProposalCovenant not funded correctly

Governance

ErrorCause
Voting period has endedVote lock attempted after votingEndsAt
Already voted on this proposalDuplicate off-chain vote from same address
Vote lock contract data not recordedUnlock attempted without a prior confirmed lock
Unlock transaction does not include expected voter token return outputWrong transaction submitted for unlock confirmation