# Veeqo Order API - 500 Internal server Error

**URL:** <https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94>\
**Category:** API Queries (How To)\
**Created:** [January 24, 2018, 4:19pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94 "2018-01-24T16:19:17Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![techosunny](https://avatars.discourse-cdn.com/v4/letter/t/00F991/32.png) [@techosunny](https://developer-forum.veeqo.com/u/techosunny)\
**Post date:** [January 24, 2018, 4:19pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/1 "2018-01-24T16:19:17Z")

</div>

I encountered 500 Internal server error repeatedly while calling Order Endpoint

Request:- GET  
API Endpoint:- [https://api.veeqo.com/orders](https://api.veeqo.com/orders)  
Header:- API KEY

Response:-  
{“status”:“500”,“error”:“Internal Server Error”}

* * *

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 24, 2018, 4:31pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/2 "2018-01-24T16:31:23Z")

</div>

Hi techosunny,

Please can you try going to [https://app.veeqo.com/orders](https://app.veeqo.com/orders) to see if it loads, then try changing the URL to [https://api.veeqo.com/orders](https://api.veeqo.com/orders). This will test whether you can access the API using your browser cookies.

Let me know what happens when you do that then I can investigate further.

Thanks,

---

<div class="post-metadata">

**Author:** ![techosunny](https://avatars.discourse-cdn.com/v4/letter/t/00F991/32.png) [@techosunny](https://developer-forum.veeqo.com/u/techosunny)\
**Post date:** [January 24, 2018, 4:37pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/3 "2018-01-24T16:37:17Z")

</div>

Hey Phil,

## [https://app.veeqo.com/orders](https://app.veeqo.com/orders) Yes, I’m able to access this one.

[https://api.veeqo.com/orders](https://api.veeqo.com/orders)  
Application error  
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.

Thanks,

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 24, 2018, 5:06pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/4 "2018-01-24T17:06:31Z")

</div>

This looks like its a cache error. I’m afraid we’re going to need a bit more time to investigate this. I’ll get back to you as soon I have a solution.

---

<div class="post-metadata">

**Author:** ![techosunny](https://avatars.discourse-cdn.com/v4/letter/t/00F991/32.png) [@techosunny](https://developer-forum.veeqo.com/u/techosunny)\
**Post date:** [January 24, 2018, 5:09pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/5 "2018-01-24T17:09:39Z")

</div>

Do you able to share what kind of cache error you are facing right now…?

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 24, 2018, 5:14pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/6 "2018-01-24T17:14:22Z")

</div>

Its just a timeout error which doesn’t really tell us anything unfortunately.

I’ve just reactivated your Tech2Peak - Developer account for another month if you need to test on another account.

---

<div class="post-metadata">

**Author:** ![techosunny](https://avatars.discourse-cdn.com/v4/letter/t/00F991/32.png) [@techosunny](https://developer-forum.veeqo.com/u/techosunny)\
**Post date:** [January 24, 2018, 5:23pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/7 "2018-01-24T17:23:45Z")

</div>

Thanks,

My developer account working fine but please fix this soon…

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 24, 2018, 8:29pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/8 "2018-01-24T20:29:05Z")

</div>

Hey,

Just had another look at this and, there is something a bit odd at work here. We’re going to have another look at it tomorrow morning. As a work around at the moment this query works `https://api.veeqo.com/orders?since_id=13376004&status=awaiting_fulfillment` which returns the most recent 199 orders from that account.

Its a big query and takes close to a minute to load all the data, but it gets there. I’ll get back to you tomorrow, hopefully with some more information.

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 25, 2018, 9:31am UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/9 "2018-01-25T09:31:42Z")

</div>

@techosunny We have a fix that should be deployed overnight tonight. In the mean time please can you specify the page param in your request.  
E.G. send the GET request to `https://api.veeqo.com/orders?page=1`

---

<div class="post-metadata">

**Author:** ![techosunny](https://avatars.discourse-cdn.com/v4/letter/t/00F991/32.png) [@techosunny](https://developer-forum.veeqo.com/u/techosunny)\
**Post date:** [January 25, 2018, 9:59am UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/10 "2018-01-25T09:59:39Z")

</div>

Sure, I’ll specify page param in my request…  
Thanks

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 25, 2018, 4:13pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/11 "2018-01-25T16:13:09Z")

</div>

The fix for this should be deployed now.

---

<div class="post-metadata">

**Author:** ![techosunny](https://avatars.discourse-cdn.com/v4/letter/t/00F991/32.png) [@techosunny](https://developer-forum.veeqo.com/u/techosunny)\
**Post date:** [February 5, 2018, 2:21pm UTC](https://developer-forum.veeqo.com/t/veeqo-order-api-500-internal-server-error/94/12 "2018-02-05T14:21:53Z")

</div>

Thanks Phil… 🙂
