# API bug? Why is pledge history missing some pledge events? This is breaking my login system!

**URL:** <https://www.patreondevelopers.com/t/api-bug-why-is-pledge-history-missing-some-pledge-events-this-is-breaking-my-login-system/4475>\
**Category:** Friendly Help\
**Created:** [May 22, 2021, 10:10am UTC](https://www.patreondevelopers.com/t/api-bug-why-is-pledge-history-missing-some-pledge-events-this-is-breaking-my-login-system/4475 "2021-05-22T10:10:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CozmikDebris](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@CozmikDebris](https://www.patreondevelopers.com/u/CozmikDebris)\
**Post date:** [May 22, 2021, 10:10am UTC](https://www.patreondevelopers.com/t/api-bug-why-is-pledge-history-missing-some-pledge-events-this-is-breaking-my-login-system/4475/1 "2021-05-22T10:10:26Z")

</div>

For my game I’m using pledge history to check the tier and dates of every pledge made by a patron and unlocking content based on this.

It’s working 99% of the time but occasionally a pledge is missing, a few Patrons who have paid this month have no pledge event.

For example this Patron has paid $20 on May 13th (according to relationship manager):  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/patreondevelopers/original/2X/7/79db6177b0f2b680469953e5cd9fb1f10ad1c378.png)

But the API is not showing this pledge at all (all other pledges are showing up correctly) so I’m really confused.

Also if I click on “see all payment history” it’s missing from there too, so the information on the Patreon website doesn’t even match up!

I’ve had this come up a few times, it seems like a bug or is there an explanation?

---

<div class="post-metadata">

**Author:** ![codebard](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/codebard/32/14_2.png) [@codebard](https://www.patreondevelopers.com/u/codebard)\
**Post date:** [May 24, 2021, 8:16pm UTC](https://www.patreondevelopers.com/t/api-bug-why-is-pledge-history-missing-some-pledge-events-this-is-breaking-my-login-system/4475/2 "2021-05-24T20:16:18Z")

</div>

[quote=“CozmikDebris, post:1, topic:4475, full:true”**]Also if I click on “see all payment history” it’s missing from there too, so the information on the Patreon website doesn’t even match up!**

I’ve had this come up a few times, it seems like a bug or is there an explanation?  
[/quote]

Yes, could be. At [patreon.com](http://patreon.com), not the api probably. You should open a ticket at Patreon with this information.

---

<div class="post-metadata">

**Author:** ![CozmikDebris](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@CozmikDebris](https://www.patreondevelopers.com/u/CozmikDebris)\
**Post date:** [May 24, 2021, 9:27pm UTC](https://www.patreondevelopers.com/t/api-bug-why-is-pledge-history-missing-some-pledge-events-this-is-breaking-my-login-system/4475/3 "2021-05-24T21:27:11Z")

</div>

I did already and heard back from them today, apparently they looked into it and it’s a bug so they’ve sent my report to the engineers. Hoping it gets fixed soon.
