# Calculation error: data/case/@case\_id

**URL:** <https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268>\
**Category:** Users\
**Created:** [June 23, 2021, 8:06am UTC](https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268 "2021-06-23T08:06:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![spope\_gnp](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/a183cd/32.png) [@spope\_gnp](https://forum.dimagi.com/u/spope_gnp)\
**Post date:** [June 23, 2021, 8:06am UTC](https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268/1 "2021-06-23T08:06:12Z")

</div>

Hi CommCare team,

I am receiving the following error and not entirely sure what to make of it. I was using this app just fine a few days ago and don't remember making any changes but maybe an easy fix?

Error: "Calculation Error: Error in calculation for /data/case/@case\_id Logic references instance(commcaresession)/session/data/case\_id\_epc\_professor which is not a valid question or value"

 ![Screen Shot 2021-06-23 at 10.03.29 AM](https://dimagi.b-cdn.net/uploads/default/original/2X/1/168aa54bd1f42faac4812f82fb6a5fed381c84e0.png)

The basic flow is: I have a parent case (school) and then a child case (teacher). The error is showing in a follow-up form (for the teacher) to record the results of an evaluation for the teacher. The case name for the school is "epc" and the child case name for the teacher is "epc\_professor".

Thanks for your help!

Stephen

---

<div class="post-metadata">

**Author:** ![Clayton\_Sims](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/clayton_sims/32/496_2.png) [@Clayton\_Sims](https://forum.dimagi.com/u/Clayton_Sims)\
**Post date:** [June 23, 2021, 1:08pm UTC](https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268/2 "2021-06-23T13:08:01Z")

</div>

Hi Stephen,

Unless you have any special calculation logic, this looks like it's likely an issue with the app builder in how it's generating the parent-\>child calculations.

Can you report an issue from inside CommCareHQ so our team can take a look?

-Clayton

---

<div class="post-metadata">

**Author:** ![spope\_gnp](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/s/a183cd/32.png) [@spope\_gnp](https://forum.dimagi.com/u/spope_gnp)\
**Post date:** [June 23, 2021, 1:38pm UTC](https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268/3 "2021-06-23T13:38:46Z")

</div>

Thanks so much Clayton, will do!

---

<div class="post-metadata">

**Author:** ![clinton](https://dimagi.b-cdn.net/user_avatar/forum.dimagi.com/clinton/32/1737_2.png) [@clinton](https://forum.dimagi.com/u/clinton)\
**Post date:** [April 5, 2022, 12:56pm UTC](https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268/4 "2022-04-05T12:56:09Z")

</div>

Was there a solution to this issue? I'm getting a same error trying to set up the this kind of parent-child setup.

---

<div class="post-metadata">

**Author:** ![my1username1](https://dimagi.b-cdn.net/letter_avatar_proxy/v4/letter/m/ee7513/32.png) [@my1username1](https://forum.dimagi.com/u/my1username1)\
**Post date:** [July 22, 2022, 4:46pm UTC](https://forum.dimagi.com/t/calculation-error-data-case-case-id/8268/5 "2022-07-22T16:46:31Z")

</div>

@Clayton_Sims I also face the same issue and reported from within CommCare HQ
