REST API: Error 1020 Access Denied on /orders endpoint

We are unable to access /orders endpoint, receiving the following response:

Error 1020
Ray ID: 5f6d1aeabaadf555 • 2020-11-23 18:55:33 UTC
Access denied
What happened?
This website is using a security service to protect itself from online attacks.

Cloudflare Ray ID: 5f6d1aeabaadf555 • Your IP: {OUR-IP}• Performance & security by Cloudflare

Using the same access token, all other endpoints (e.g. /products, /contacts, /subscription, /tags and /transactions) are working fine.

Sample List Orders Request:

curl --location --request GET 'https://api.infusionsoft.com//crm/rest/v1/orders?since=2020-10-20T22:38:14.038Z&until=2020-11-19T22:38:14.038Z&limit=1000&offset=23000' \
--header 'Authorization: Bearer {MY-ACCESSTOKEN}'

Please verify.

Thank you.

I moved this to the API Q&A forum…not many general IS users will understand it.

@bradb, any idea what might be causing this one?

1 Like

https://api.infusionsoft.com//crm/rest/v1/orders should be https://api.infusionsoft.com/crm/rest/v1/orders, but other than that, you might have triggered CloudFlare’s anti DDOS measures somehow.

1 Like

1020 is the response when our SRE team has blocked traffic due to excessive use. Reach out to API Support.

1 Like