OBP-API icon indicating copy to clipboard operation
OBP-API copied to clipboard

Error at the Kafka Connector level should give nicer Error at the API level

Open simonredfern opened this issue 9 years ago • 0 comments

Can we return nicer errors than this to the API in case of Kafka Connector level error?

Bad response code (500) from OBP API server:

Exception occured while processing /obp/v2.0.0/my/banks/SGBC/accounts/44ea4f603acac9c64d0e21af5c7ec4f429f0ec1c67b59d67a111807bab9f05b3/transactions
Message: com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key Map(bankId -> SGBC, username -> [email protected], accountId -> 85bf9a150a1030857f8e6d6a7b898b8aa44c6ec5d625c0b2d98b66dd752f2b0b).
    com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2350)
    com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2320)

simonredfern avatar Jul 11 '16 03:07 simonredfern