SDK seeking permissions every time

SOLVED

Hi,

We are trying to build up an application using the Sage SDK to create invoices in the Sage 50. In our testing , we found that the Sage SDK is prompting for the user to give permission every time (even if it is same company file that we gave permissions earlier) we open a company file. Is this an expected behavior? Or is it possible to skip the permissions once the user has authorized it?

Thank you for your help in advance.