# Did anything change with the API within the last 12 hours?

**URL:** <https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331>\
**Category:** Bugabee\
**Created:** [July 8, 2017, 3:51am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331 "2017-07-08T03:51:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbork](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mbork](https://forum.beeminder.com/u/mbork)\
**Post date:** [July 8, 2017, 3:51am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/1 "2017-07-08T03:51:47Z")

</div>

Hi there,

my Emacs client suddenly stopped working within last 12 hours or so. I’m investigating this, since I’m quite dependent on it, but just wanted to make sure: did anything with the Beeminder API change within the last 12 hours? More specifically, it seems that the format of some data might have changed. Was that possible?

Best,

---

<div class="post-metadata">

**Author:** ![Daniel\_Reeves1](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/daniel_reeves1/32/713_2.png) [@Daniel\_Reeves1](https://forum.beeminder.com/u/Daniel_Reeves1)\
**Post date:** [July 8, 2017, 3:58am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/2 "2017-07-08T03:58:22Z")

</div>

negative [sent from watch]

---

<div class="post-metadata">

**Author:** ![mbork](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mbork](https://forum.beeminder.com/u/mbork)\
**Post date:** [July 8, 2017, 3:59am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/3 "2017-07-08T03:59:02Z")

</div>

Thanks for being so fast! So, strange things apparently happen. I’ll be looking into this.

---

<div class="post-metadata">

**Author:** ![mbork](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mbork](https://forum.beeminder.com/u/mbork)\
**Post date:** [July 8, 2017, 4:25am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/4 "2017-07-08T04:25:24Z")

</div>

It seems that I’m close to finding the culprit. This goal breaks my client: [https://www.beeminder.com/mbork/code-reading](https://www.beeminder.com/mbork/code-reading) . It is a strange edge case: I derailed, but the goal is scheduled for archiving. Never seen anything like that before. For this goal, calculating the sum of today’s datapoints somehow doesn’t work. I found a workaround, although I still do not understand what is happening (and don’t have more time for that now, probably).

---

<div class="post-metadata">

**Author:** ![dreev](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/dreev/32/4311_2.png) [@dreev](https://forum.beeminder.com/u/dreev)\
**Post date:** [July 8, 2017, 4:31am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/5 "2017-07-08T04:31:42Z")

</div>

Sounds like it’s our fault, directly or indirectly! Would be great to get a fuller bug report, or at least hear about the workaround!

---

<div class="post-metadata">

**Author:** ![mbork](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mbork](https://forum.beeminder.com/u/mbork)\
**Post date:** [July 8, 2017, 4:55am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/6 "2017-07-08T04:55:00Z")

</div>

How about this: `curl 'https://www.beeminder.com/api/v1/users/mbork.json?auth_token=[redacted]&diff_since=1499212800'` omits the offending goal (`code-reading`) from the result. Is it what is intended?

(BTW, as you can see, I don’t have time for studying other people’s code nowadays. Sigh…)

---

<div class="post-metadata">

**Author:** ![bee](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/bee/32/41_2.png) [@bee](https://forum.beeminder.com/u/bee)\
**Post date:** [July 12, 2017, 4:27am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/7 "2017-07-12T04:27:11Z")

</div>

Archived goals aren’t returned in api goals listing etc. So maybe the api didn’t change, but your goal state did? Was the goal archived at the time that it stopped showing up in api results? or just frozen?

---

<div class="post-metadata">

**Author:** ![mbork](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@mbork](https://forum.beeminder.com/u/mbork)\
**Post date:** [July 12, 2017, 5:53am UTC](https://forum.beeminder.com/t/did-anything-change-with-the-api-within-the-last-12-hours/3331/8 "2017-07-12T05:53:37Z")

</div>

It was about to be archived, but not yet in that state IIUC.
