# Mautic Api: Fatal error

**URL:** https://forum.mautic.org/t/mautic-api-fatal-error/6315
**Category:** Product Support
**Created:** [October 22, 2016, 3:17pm UTC](https://forum.mautic.org/t/mautic-api-fatal-error/6315 "2016-10-22T15:17:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![SquireCrag](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SquireCrag](https://forum.mautic.org/u/SquireCrag)
#### Post date: [October 22, 2016, 3:17pm UTC](https://forum.mautic.org/t/mautic-api-fatal-error/6315/1 "2016-10-22T15:17:31Z")

</div>

Hi,  
  
  
  
Unfortunately my web hosting doesn’t offer ssh access so i am unable to install Composer. So i am using a joomla plugin of Mautic api which doesnt require composer, but i am running into the following problem:  
  
  
  
’

Code:

Fatal error: Uncaught exception 'MauticExceptionIncorrectParametersReturnedException' with message 'Incorrect access token parameters returned: ???'

  
Any ideas why it is returning this? Also is there a guide for the API without the need of composer?  
  
Thanks.

---

<div class="post-metadata">

### Author: ![SquireCrag](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@SquireCrag](https://forum.mautic.org/u/SquireCrag)
#### Post date: [October 22, 2016, 3:17pm UTC](https://forum.mautic.org/t/mautic-api-fatal-error/6315/2 "2016-10-22T15:17:31Z")

</div>

Hi,

Unfortunately my web hosting doesn’t offer ssh access so i am unable to install Composer. So i am using a joomla plugin of Mautic api which doesnt require composer, but i am running into the following problem:

’`Fatal error: Uncaught exception 'MauticExceptionIncorrectParametersReturnedException' with message 'Incorrect access token parameters returned: ???'`

Any ideas why it is returning this? Also is there a guide for the API without the need of composer?

Thanks.

---

<div class="post-metadata">

### Author: ![michiellucas](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@michiellucas](https://forum.mautic.org/u/michiellucas)
#### Post date: [November 9, 2016, 1:03pm UTC](https://forum.mautic.org/t/mautic-api-fatal-error/6315/3 "2016-11-09T13:03:47Z")

</div>

Hello, i am also getting this error:  
it works fine but after a day i get the following error

```
MauticExceptionIncorrectParametersReturnedException: Incorrect access token parameters returned: invalid_grant in MauticAuthOAuth->requestAccessToken() (line 620 of /app/vendor/mautic/api-library/lib/Auth/OAuth.php).
```
