Getting PeachTree API exception - Entity is read-only

The company account is accessible through the desktop Sage 50 US Edition just fine.     When we try to access through our app that uses Sage API to access it gives the following message.   ANyone knows what the issue is?

WIndows 2012 Server R2

Sage 50 US Edition 2018.2