# API call only creates errors, not results

**URL:** <https://discourse.getcockpit.com/t/api-call-only-creates-errors-not-results/632>\
**Category:** Support\
**Created:** [March 1, 2019, 10:07pm UTC](https://discourse.getcockpit.com/t/api-call-only-creates-errors-not-results/632 "2019-03-01T22:07:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![frankjonen](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/frankjonen/32/267_2.png) [@frankjonen](https://discourse.getcockpit.com/u/frankjonen)\
**Post date:** [March 2, 2019, 3:10am UTC](https://discourse.getcockpit.com/t/api-call-only-creates-errors-not-results/632/3 "2019-03-02T03:10:17Z")

</div>

Oh hell, warm art thou. 😩

Thanks for the pointer towards the plugin. I’m so thrilled right now 🤐. It’s the HugoCockpit plugin. Once deleted, I got the API to respond.

Now that I’ve put the `Hugo` folder back, I’m getting an additional bit. (I should have thought of that earlier.)

```auto
{"error":"Call to a member function addAssets() on null","file":"\/Applications\/MAMP\/htdocs\/cockpit\/addons\/Hugo\/admin.php","line":9}

```

Thanks again for checking. Should I get this working _with_ the plug-in active, I’ll post an update.

---

_[View the full topic](https://discourse.getcockpit.com/t/api-call-only-creates-errors-not-results/632)._
