# General error on Retrieving a single Campaign

**URL:** <https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236>\
**Category:** API Q&A\
**Created:** [July 11, 2017, 12:42pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236 "2017-07-11T12:42:26Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Von\_Villafuerte](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Von\_Villafuerte](https://integration.keap.com/u/Von_Villafuerte)\
**Post date:** [July 11, 2017, 12:42pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/1 "2017-07-11T12:42:26Z")

</div>

I’m testing [the _Retrieve a Campaign_ endpoint](https://developer.infusionsoft.com/docs/rest/#!/Campaign/loadCampaignUsingGET) and I keep getting a “General error” with the following response headers:

```
{
  "x-plan-qps-allotted": "25",
  "x-plan-quota-allotted": "125000",
  "pragma": "no-cache",
  "x-plan-quota-reset": "Wednesday, July 12, 2017 12:00:00 AM GMT",
  "x-mashery-message-id": "ac3b508c-a3d3-4a53-a8ef-162d195aeecf",
  "content-language": "en-US",
  "x-plan-qps-current": "1",
  "cache-control": "no-cache, no-store, no-store",
  "x-plan-quota-current": "18",
  "content-type": "application/json;charset=UTF-8",
  "x-mashery-responder": "prod-j-worker-us-west-1c-57.mashery.com",
  "expires": "Tue, 11 Jul 2017 12:39:52 GMT"
}

```

I’m sure that the campaignId is correct since I copied it from the list that I got from the _List Campaigns_ endpoint. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Carlos\_Ochoa](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/carlos_ochoa/32/2547_2.png) [@Carlos\_Ochoa](https://integration.keap.com/u/Carlos_Ochoa)\
**Post date:** [July 11, 2017, 3:16pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/2 "2017-07-11T15:16:33Z")

</div>

Sorry to hear you are having trouble using the interactive REST docs. I seem to be getting the same “general error”. I am checking into this and will update this thread with more information once I have an idea of what is happening.

---

<div class="post-metadata">

**Author:** ![Carlos\_Ochoa](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/carlos_ochoa/32/2547_2.png) [@Carlos\_Ochoa](https://integration.keap.com/u/Carlos_Ochoa)\
**Post date:** [July 11, 2017, 3:41pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/3 "2017-07-11T15:41:28Z")

</div>

It looks like we have a fix for this issue. We have an updated version of the docs that will be coming out in the near future. I will try to get an exact release date and update this thread.

---

<div class="post-metadata">

**Author:** ![Von\_Villafuerte](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Von\_Villafuerte](https://integration.keap.com/u/Von_Villafuerte)\
**Post date:** [July 12, 2017, 12:12am UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/4 "2017-07-12T00:12:08Z")

</div>

Do you have a release date for the fix?

---

<div class="post-metadata">

**Author:** ![Carlos\_Ochoa](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/carlos_ochoa/32/2547_2.png) [@Carlos\_Ochoa](https://integration.keap.com/u/Carlos_Ochoa)\
**Post date:** [July 17, 2017, 5:05pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/5 "2017-07-17T17:05:04Z")

</div>

Hey @Von_Villafuerte, sorry for the delay, the release date for the update to the REST API docs is planned for tomorrow 7/18/2017.

---

<div class="post-metadata">

**Author:** ![Von\_Villafuerte](https://avatars.discourse-cdn.com/v4/letter/v/ebca7d/32.png) [@Von\_Villafuerte](https://integration.keap.com/u/Von_Villafuerte)\
**Post date:** [July 17, 2017, 11:49pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/6 "2017-07-17T23:49:03Z")

</div>

This is great news! Thanks for the update.

---

<div class="post-metadata">

**Author:** ![Carlos\_Ochoa](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/carlos_ochoa/32/2547_2.png) [@Carlos\_Ochoa](https://integration.keap.com/u/Carlos_Ochoa)\
**Post date:** [July 19, 2017, 8:27pm UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/7 "2017-07-19T20:27:31Z")

</div>

Hey @Von_Villafuerte I wanted to let you know that the [REST API docs](https://developer.infusionsoft.com/docs/rest/) have been updated.

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [July 20, 2017, 12:12am UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/8 "2017-07-20T00:12:05Z")

</div>

@Carlos\_Ochoa1,

In testing this out, if one optional property or the other is included, all runs fine. If, however, both are included as in ‘sequences, goals’ then the following is returned:

{  
“message”: “The following optional-properties are unrecognized: goals”  
}

If I reverse the order than the second one is always what is mentioned in the message. I think more work still needs to be done on this one.

---

<div class="post-metadata">

**Author:** ![Nicholas\_Trecina](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/nicholas_trecina/32/5338_2.png) [@Nicholas\_Trecina](https://integration.keap.com/u/Nicholas_Trecina)\
**Post date:** [July 20, 2017, 12:20am UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/9 "2017-07-20T00:20:33Z")

</div>

Try removing the space you have in between “sequence,” and “goals” so that the parameter value is `sequences,goals`.

---

<div class="post-metadata">

**Author:** ![John\_Borelli](https://sea1.discourse-cdn.com/flex019/user_avatar/integration.keap.com/john_borelli/32/11880_2.png) [@John\_Borelli](https://integration.keap.com/u/John_Borelli)\
**Post date:** [July 20, 2017, 12:32am UTC](https://integration.keap.com/t/general-error-on-retrieving-a-single-campaign/4236/10 "2017-07-20T00:32:21Z")

</div>

Thanks! That works. It’s odd behavior though 😜
