System Administrator User is getting this exception SugarApiExceptionNotAuthorized

I have a custom integration of Sugar with another app. While accessing records using API the following error is logged. The user is a System Administrator User. Can anyone help? Thanks

Thu May 19 12:11:23 2022 [28378][-none-][FATAL] Exception in Controller: SugarApiExceptionNotAuthorized: No access to view records for module: Contacts in /mnt/sugar/12.0.0/ent/clients/base/api/FilterApi.php:327