Hello,
first of all this is just an informational thread, so that noone else will fall over that. I've opened already a meraki case for that issue.
When you are receiving the result in more pages, you will get the LINK header like this (I've masked the meraki shard):
<https://nXXX.meraki.com/api/v0/securityEvents?perPage=100&startingAfter=1554454686.0724242×pan=25920000>; rel=first, <https://nXXX.meraki.com/api/v0/securityEvents?perPage=100&startingAfter=1577880115.764001×pan=25920000>; rel=next, <https://nXXX.meraki.com/api/v0/securityEvents?endingBefore=1580374686.3534946&perPage=100×pan=25920000>; rel=last
What you can see here is that the "organizations/{id}/" part is missing in the links. Therefore calling them will result in a "404 Not Found" Error.
They should all look like that:
<https://nXXX.meraki.com/api/v0/organizations/YYYYYY/securityEvents?perPage=100&startingAfter=1554454686.0724242×pan=25920000>; rel=first, <https://nXXX.meraki.com/api/v0/organizations/YYYYYY/securityEvents?perPage=100&startingAfter=1577880115.764001×pan=25920000>; rel=next, <https://nXXX.meraki.com/api/v0/organizations/YYYYYY/securityEvents?endingBefore=1580374686.3534946&perPage=100×pan=25920000>; rel=last