The earliest recollection of this bug is traced back to PAN-OS 9.1.12 - July 29, 2024.
This bug is fixed in PAN-OS versions 9.1.12.
Fixed an issue where the Panorama appliance didn't return inherited device group locations pertaining to Security policies for REST API queries.
For more information:
https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-release-notes/pan-os-9-1-addressed-issues/pan-os-9-1-12-addressed-issues