# Replica Error: not allowed to call ic00 method provisional\_create\_canister\_with\_cycles

**URL:** <https://forum.dfinity.org/t/replica-error-not-allowed-to-call-ic00-method-provisional-create-canister-with-cycles/23709>\
**Category:** CDK\
**Created:** [October 12, 2023, 12:43pm UTC](https://forum.dfinity.org/t/replica-error-not-allowed-to-call-ic00-method-provisional-create-canister-with-cycles/23709 "2023-10-12T12:43:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Vivienne](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/vivienne/32/29170_2.png) [@Vivienne](https://forum.dfinity.org/u/Vivienne)\
**Post date:** [October 12, 2023, 1:24pm UTC](https://forum.dfinity.org/t/replica-error-not-allowed-to-call-ic00-method-provisional-create-canister-with-cycles/23709/4 "2023-10-12T13:24:38Z")

</div>

As part of [this](https://forum.dfinity.org/t/important-community-update-on-ic0-app-domain-being-flagged-by-an-anti-spam-blocklist/18537) the definition of what dfx recognises as mainnet was changed. dfx now treats `https://icp0.io` as mainnet. If you change every `https://ic0.app` to `https://icp0.io` things should work again as before. If you’re wondering why ic0.app is no longer recognised I don’t have a good answer. We probably should have kept that in

In case you’re interested: [here](https://github.com/dfinity/sdk/blob/master/src/dfx-core/src/config/model/network_descriptor.rs#L80) is how the detection is defined

---

_[View the full topic](https://forum.dfinity.org/t/replica-error-not-allowed-to-call-ic00-method-provisional-create-canister-with-cycles/23709)._
