# Issue retrieving current pledge, reward

**URL:** <https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254>\
**Category:** Friendly Help\
**Created:** [February 6, 2018, 12:41pm UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254 "2018-02-06T12:41:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luceos](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/luceos/32/37_2.png) [@luceos](https://www.patreondevelopers.com/u/luceos)\
**Post date:** [February 6, 2018, 12:41pm UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254/1 "2018-02-06T12:41:58Z")

</div>

When calling the the current\_user endpoint with an access token having the scope users and pledges-to-me the response returns an empty response set for pledges. I’m unsure what is causing this, I’ve increased the pledge of the account I am logging in as for the owner of the client. But to no avail. Are there any restrictions that might cause pledges to not show on the current\_user endpoint?

I’ve tried adding the include=pledge,rewards but that didn’t help either.

It’s part of writing a php league adapter for patreon: [https://github.com/gravure/oauth2-patreon](https://github.com/gravure/oauth2-patreon)

---

<div class="post-metadata">

**Author:** ![spencerhandley](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/spencerhandley/32/27_2.png) [@spencerhandley](https://www.patreondevelopers.com/u/spencerhandley)\
**Post date:** [February 6, 2018, 11:58pm UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254/2 "2018-02-06T23:58:42Z")

</div>

Hey Luceos,  
If I understand your question correctly, you’re trying to access the pledges for the campaign that is associated with the Client ID. If so, you’ll want to use `/current_user/campaign` with the include `pledges`. More info about that here: [https://docs.patreon.com/#fetch-a-creator-profile-and-campaign-info](https://docs.patreon.com/#fetch-a-creator-profile-and-campaign-info)

Hope that helps!  
-Spencer

---

<div class="post-metadata">

**Author:** ![luceos](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/luceos/32/37_2.png) [@luceos](https://www.patreondevelopers.com/u/luceos)\
**Post date:** [February 7, 2018, 8:34am UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254/3 "2018-02-07T08:34:07Z")

</div>

If that is the case, tell me where i can get you a coffee!

Will get back to this thread when tested.

---

<div class="post-metadata">

**Author:** ![luceos](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/luceos/32/37_2.png) [@luceos](https://www.patreondevelopers.com/u/luceos)\
**Post date:** [February 7, 2018, 8:38am UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254/4 "2018-02-07T08:38:47Z")

</div>

Instead of `/current_user/campaign` I needed to set `/current_user/campaigns` according to the docs. Now I run into an error though: A runtime check failed.

---

<div class="post-metadata">

**Author:** ![luceos](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/luceos/32/37_2.png) [@luceos](https://www.patreondevelopers.com/u/luceos)\
**Post date:** [February 7, 2018, 8:42am UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254/5 "2018-02-07T08:42:21Z")

</div>

Seems it is a 403 Forbidden, pretty odd.

---

<div class="post-metadata">

**Author:** ![spencerhandley](https://yyz2.discourse-cdn.com/flex036/user_avatar/www.patreondevelopers.com/spencerhandley/32/27_2.png) [@spencerhandley](https://www.patreondevelopers.com/u/spencerhandley)\
**Post date:** [February 8, 2018, 11:52pm UTC](https://www.patreondevelopers.com/t/issue-retrieving-current-pledge-reward/254/6 "2018-02-08T23:52:57Z")

</div>

Whoops, yes you’re correct with `/campaigns`

Would you mind DMing me the request and response? I can help diagnose it on our end.
