We are using the API call - /api/v2/workforcemanagement/managementunits/{managementUnitId}/schedules/search
It used to return records without any problems, but recently we have been receiving 429 errors and seeing "Error from cloudfront" in the Response Header.
I understand that 429 are rate limit errors but I do not understand why we are receiving cloudfront error along with it.
Here is the cloudfront error in the ResponseHeader:
{"Name":"X-Cache","Value":"Error from cloudfront","Type":3,"DataFormat":2,"ContentType":null}
You can find more information about rate limits, including best practices for handling being rate limited, here: https://developer.genesys.cloud/api/rest/rate_limits. If you can provide a correlation ID for the response, I can see if there's any additional information available.
We have a retry function set in place which is dependent on Retry-After as mentioned in the link you gave. However, this particular error does not contain a Retry-After in the header.
I am more curious as to why we are receiving an "error in cloudfront" in the response header. It would be much appreciated if you could shed more light to that.
Here is the correlation ID by the way, 8bd35fca-95d5-4d8c-9055-d3f302c699be
I'm not seeing any traces for that correlation ID. If you require further investigation into that response, please open a case with Genesys Cloud Care to continue investigating.
Please open a case with Genesys Cloud Care to continue investigating as this is a product issue and not a typical usage issue and cannot be investigated via the forum.