# Attribute Error: 'str' object has no attribute 'get'

**URL:** <https://community.crewai.com/t/attribute-error-str-object-has-no-attribute-get/1079>\
**Category:** CrewAI Community Support\
**Tags:** crewai\
**Created:** [October 28, 2024, 11:10am UTC](https://community.crewai.com/t/attribute-error-str-object-has-no-attribute-get/1079 "2024-10-28T11:10:02Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![olaservo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.crewai.com/olaservo/32/971_2.png) [@olaservo](https://community.crewai.com/u/olaservo)\
**Post date:** [November 14, 2024, 12:23pm UTC](https://community.crewai.com/t/attribute-error-str-object-has-no-attribute-get/1079/13 "2024-11-14T12:23:10Z")

</div>

This is a shot in the dark (since it appears that at least one other person had their tasks in the correct order) but I was having this error too and this was my problem: [Help with Task Context Resolution in CrewAI](https://community.crewai.com/t/help-with-task-context-resolution-in-crewai/1384)

So if you are defining a context list for a task (which I see was being referenced in at least one stack trace above) then make sure that the dependencies are defined before the tasks that depend on them.

---

_[View the full topic](https://community.crewai.com/t/attribute-error-str-object-has-no-attribute-get/1079)._
