# Fallen at the first hurdle

**URL:** https://discourse.getcockpit.com/t/fallen-at-the-first-hurdle/1527
**Category:** Support
**Created:** [June 27, 2020, 11:49am UTC](https://discourse.getcockpit.com/t/fallen-at-the-first-hurdle/1527 "2020-06-27T11:49:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nickbutton](https://avatars.discourse-cdn.com/v4/letter/n/85f322/32.png) [@nickbutton](https://discourse.getcockpit.com/u/nickbutton)
#### Post date: [June 27, 2020, 11:49am UTC](https://discourse.getcockpit.com/t/fallen-at-the-first-hurdle/1527/1 "2020-06-27T11:49:16Z")

</div>

Hi guys,

I’ve just discovered cockpit and am keen to get using it. I’ve installed locally and on a remote server, created some collections and items - looking good so far.

I’ve thrown a test.php file in the root of the cockpit-master folder with some code to read the collections, taken from the documentation. I’ve created a token and bunged that in.

 ![noob](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/1X/61cde18d77437dbe6737f1e71bf2a21be91b45c3.jpeg)

But I’m getting the attached errors in the console. I’m sure this is a horrendous noob issue, but I’d rather get going with help, than spend hours going in circles.

Please can someone tell me where I’m going wrong?
