# Sender not authorized to use method

**URL:** <https://forum.dfinity.org/t/sender-not-authorized-to-use-method/2526>\
**Category:** Command Line Tools\
**Tags:** Functional-Programming\
**Created:** [April 19, 2021, 10:18am UTC](https://forum.dfinity.org/t/sender-not-authorized-to-use-method/2526 "2021-04-19T10:18:52Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ori](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Ori](https://forum.dfinity.org/u/Ori)\
**Post date:** [April 20, 2021, 4:51pm UTC](https://forum.dfinity.org/t/sender-not-authorized-to-use-method/2526/6 "2021-04-20T16:51:28Z")

</div>

If you’re running dfx build on individual canisters that have dependencies, you’ll need to declare the dependency canisters in your dfx.json, similar to this: [Development workflow: quickly test code modifications - #9 by Ori](https://forum.dfinity.org/t/development-workflow-quickly-test-code-modifications/1793/9)

---

_[View the full topic](https://forum.dfinity.org/t/sender-not-authorized-to-use-method/2526)._
