<p>I got this same exact error when I tried to sign a mainnet transaction using a testnet API, so, make sure you are using the same network..</p>

CC BY-SA 4.0
2019-02-09T00:16:39.177Z
2019-02-09T00:16:39.177Z
Toxnyc
<p>This is what we call a replay protection error, the ecBlockId and ecBlockHeight params must point to an existing block already in the blockchain. You can also omit these fields and let your node assign them.</p>

CC BY-SA 4.0
2018-11-01T08:02:37.613Z
2018-11-01T10:06:18.127Z
2018-11-01T10:06:18.127Z
lyaffe
<p>I tried to sign a transaction and then broadcast it, but I get the following error:</p>

<p>Error! Failed to broadcast transaction: ecBlockHeight 221000 does not match ecBlockId 932...., transaction was generated on a fork.</p>

<p>What could be the cause of this? </p>

<p>If i sign the transaction and broadcast it manually via the ardor desktop gui wallet via "broadcast", it works. I'm just not sure how this error is occurring or what does it mean?</p>

<p><a href="https://i.sstatic.net/YO9t9.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/YO9t9.png" alt="enter image description here"></a></p>

<blockchain-fork><ardor><ignis>
Ardor Transaction was generated on a fork error
Patoshi パトシ
# Ardor Transaction was generated on a fork error

(Asked by: username_0 on 2018-11-01)

I tried to sign a transaction and then broadcast it, but I get the following error:

Error! Failed to broadcast transaction: ecBlockHeight 221000 does not match ecBlockId 932...., transaction was generated on a fork.

What could be the cause of this?

If i sign the transaction and broadcast it manually via the ardor desktop gui wallet via "broadcast", it works. I'm just not sure how this error is occurring or what does it mean?

[![enter image description here](https://i.sstatic.net/YO9t9.png)](https://i.sstatic.net/YO9t9.png)

**Tags:** blockchain-fork, ardor, ignis


---

## 2 answers

### Answer by username_1 on 2019-02-09. Score: 1 | Accepted answer

I got this same exact error when I tried to sign a mainnet transaction using a testnet API, so, make sure you are using the same network..


---

### Answer by username_2 on 2018-11-01. Score: 0

This is what we call a replay protection error, the ecBlockId and ecBlockHeight params must point to an existing block already in the blockchain. You can also omit these fields and let your node assign them.


---

