Custom data is saved into database from ERP API. You have a block that renders that info on all pages on front. On some pages it is correct, on some is not.
When some changes are done in API, it talks Magento about it. What is wrong?
Block should implements IdentityInterface, return static cache key and clean caches when API talks about changes.