As a workaround, you can add a retry and it works.
I don’t know what programming language you’re using, but I added a check in Python:
if response.ok:
# continue with your programme
else:
# retry
Normally it works after the first retry, but sometimes it takes 2 or 3 retries to work.