# Strange error returned and missing return header

**URL:** <https://ask.openrouteservice.org/t/strange-error-returned-and-missing-return-header/1876>\
**Category:** Tokens, ratelimits, quotas & registration\
**Created:** [July 1, 2020, 8:24pm UTC](https://ask.openrouteservice.org/t/strange-error-returned-and-missing-return-header/1876 "2020-07-01T20:24:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![amandus](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/amandus/32/669_2.png) [@amandus](https://ask.openrouteservice.org/u/amandus)\
**Post date:** [July 2, 2020, 3:39pm UTC](https://ask.openrouteservice.org/t/strange-error-returned-and-missing-return-header/1876/2 "2020-07-02T15:39:23Z")

</div>

Hi @gwfami2,

To return the x-ratelimit-remaining header use the `-D -` curl option.  
Did you check your quota, when you started the script?

The quota is reset 24h after using the key, when it had full quota.  
See [https://tyk.io/docs/basic-config-and-security/control-limit-traffic/request-quotas/#how-do-quotas-renew](https://tyk.io/docs/basic-config-and-security/control-limit-traffic/request-quotas/#how-do-quotas-renew)

Best regards

---

_[View the full topic](https://ask.openrouteservice.org/t/strange-error-returned-and-missing-return-header/1876)._
