Canvas GraphQL not sending X-Rate-Limit-Remaining header

martinv2
Community Member

We're re-implementing our REST API in the new GraphQL. For some of our queries we need to retrieve a large amount of data and we want to honor the throttling limits imposed by Instructure. For that we want to be responsive and make sure we process any rate information sent in the response message. So we're looking to find and process the X-Rate-Limit-Remaining header but that one, nor any of the expected throttling headers, aren't found in the response. We tried using various Java libraries as well as tools like Postman but they aren't coming through.

What are we doing wrong? Is there something we have to set or configure to receive that and other headers?

0 Likes