Error: While sending an expense report to BC, you may get the following error 


Log TimeStamp : 10/7/2025 6:08:59 PM

Log Descripion : Exception while processing Expense Record GE9552 Transaction Count - 0 Exception Message - System.InvalidOperationException: <error xmlns='http://docs.oasis-

open.org/odata/ns/metadata"><code>Unauthorized</code><message>The credentials provided are incorrect</message></error> at

GorillaExpense.Model.Integration.Dynamics365OdataBcPi.GetPurchaseInvoiceUsingOData(String GorillaExpenseRefNo) in D:\a\1\s\GorillaExpense.Model\Integration\Dynamics365OdataBcPi.cs:line

9969 at GorillaExpense.Model.Integration.Dynamics365OdataBcPi.BCProcessSingleExpense(List'1 ListExpenseInfo, List'1 ListConfigLabellnfo, String IntegrationGroupByField, Int32 userld, IntegrationSettings

setting, Boolean AutoApprovedExpenseReport) in D:\a\1\s|GorillaExpense.Model\Integration\Dynamics365OdataBcPi.cs:line 281



Solution: Please check if the OAuth credentials used for the Gorilla Expense to Business Central integration are still active. This error typically occurs when the Client Secret configured for the Gorilla to BC connection has expired, resulting in failed authentication and connection errors.