# ERC2771Context: TypeError: Immutable variables cannot be read during contract creation time

**URL:** <https://forum.openzeppelin.com/t/erc2771context-typeerror-immutable-variables-cannot-be-read-during-contract-creation-time/8513>\
**Category:** Contracts\
**Tags:** erc721\
**Created:** [May 16, 2021, 4:34pm UTC](https://forum.openzeppelin.com/t/erc2771context-typeerror-immutable-variables-cannot-be-read-during-contract-creation-time/8513 "2021-05-16T16:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![adji](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@adji](https://forum.openzeppelin.com/u/adji)\
**Post date:** [August 19, 2021, 6:10pm UTC](https://forum.openzeppelin.com/t/erc2771context-typeerror-immutable-variables-cannot-be-read-during-contract-creation-time/8513/7 "2021-08-19T18:10:17Z")

</div>

Same thing with Ownable

---

_[View the full topic](https://forum.openzeppelin.com/t/erc2771context-typeerror-immutable-variables-cannot-be-read-during-contract-creation-time/8513)._
