# Mautic REST API (List Form issues)

**URL:** <https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904>\
**Category:** Development\
**Created:** [July 6, 2017, 12:09pm UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904 "2017-07-06T12:09:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![romans](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@romans](https://forum.mautic.org/u/romans)\
**Post date:** [July 6, 2017, 12:09pm UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904/1 "2017-07-06T12:09:37Z")

</div>

Hi!  
  
  
  
I’m using Mautic REST API.  
  
And have a troubles with List Form ([https://developer.mautic.org/?php#list-forms](https://developer.mautic.org/?php#list-forms))

1. can someone explain to me how Search parameter works (e.g. I want only forms Id greater than 2 if it is possible or search by Alias)?  
2. if I use orderBy parameter - always getting 500 error (Looks like I encountered an error (error #500)).  
  
  
  
Documentation is not so clear about this points as it should be.  
  
  
  
Thanks for help!  
  
  
  
Regards,  
  
Roman

---

<div class="post-metadata">

**Author:** ![romans](https://avatars.discourse-cdn.com/v4/letter/r/5e9695/32.png) [@romans](https://forum.mautic.org/u/romans)\
**Post date:** [July 6, 2017, 12:09pm UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904/2 "2017-07-06T12:09:37Z")

</div>

Hi!

I’m using Mautic REST API.  
And have a troubles with List Form ([https://developer.mautic.org/?php#list-forms](https://developer.mautic.org/?php#list-forms))

1. can someone explain to me how Search parameter works (e.g. I want only forms Id greater than 2 if it is possible or search by Alias)?
2. if I use orderBy parameter - always getting 500 error (Looks like I encountered an error (error #500)).

Documentation is not so clear about this points as it should be.

Thanks for help!

Regards,  
Roman

---

<div class="post-metadata">

**Author:** ![ThinkingMan](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@ThinkingMan](https://forum.mautic.org/u/ThinkingMan)\
**Post date:** [July 7, 2017, 2:02am UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904/3 "2017-07-07T02:02:27Z")

</div>

Going to piggy back on this one because I am having similar 500 errors and now some 404’s. I am attempting to test the API GET for Contacts using Postman and OAuth2. This is a fresh install of Mautic on XAMPP as I am just getting development moving along. I am able to authenticate and get a token but when making the GET call I receive the following error.

{“errors”:[{“message”:“Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator!”,“code”:404,“type”:null}],“error”:{“message”:“Looks like I encountered an error (error #404). If I do it again, please report me to the system administrator! (`error` is deprecated as of 2.6.0 and will be removed in 3.0. Use the `errors` array instead.)”,“code”:404}}

Is there something that needs to be configured beyond that described above?

Mautic version - 2.8.2  
PHP version - 5.6.30

---

<div class="post-metadata">

**Author:** ![felipe.tomaz](https://avatars.discourse-cdn.com/v4/letter/f/71c47a/32.png) [@felipe.tomaz](https://forum.mautic.org/u/felipe.tomaz)\
**Post date:** [July 10, 2017, 1:53pm UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904/4 "2017-07-10T13:53:33Z")

</div>

Hello guys

Same problem here! All the API endpoints return 404 Code.

---

<div class="post-metadata">

**Author:** ![A\_Atrash](https://avatars.discourse-cdn.com/v4/letter/a/e495f1/32.png) [@A\_Atrash](https://forum.mautic.org/u/A_Atrash)\
**Post date:** [July 20, 2017, 12:12pm UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904/5 "2017-07-20T12:12:09Z")

</div>

Same problem here.

---

<div class="post-metadata">

**Author:** ![eknimation](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/eknimation/32/165_2.png) [@eknimation](https://forum.mautic.org/u/eknimation)\
**Post date:** [August 2, 2017, 4:20am UTC](https://forum.mautic.org/t/mautic-rest-api-list-form-issues/8904/6 "2017-08-02T04:20:29Z")

</div>

I got same problem too.  
I try clear cache then API work fine.
