Strange error returned and missing return header

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

Best regards