The status code returned for throttled requests is 429, indicating too many requests. All requests that are throttled by Microsoft Graph will return 429 when they're throttled. Most of the services has their own rules and calculations for when limits are exceeded, and future requests will be throttled.
Subscriptions service limits
The header value, Retry-After, is an integer that represents the number of seconds the client should wait before submitting the request again. Any requests sent before this time will continue to be throttled and may cause the Retry-After value to increase as well. Best practice to Handel throttling
In your case you can see header, Retry-After: 5 , you have to retry after 5 sec, that will work
for more info regrading throttling , please see the doc - https://learn.microsoft.com/en-us/graph/throttling