web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Unable to lookup teams with values.

(3) ShareShare
ReportReport
Posted on by 9
Hello everyone,
I am facing the following error while creating a record in payment terms in FO. The dual write entity is running and initial sync completes 100% without any errors. Following is the verbose version of the error I got from DualWriteErrorLog.
 
{
   "entityName":"PaymentTermEntity",
   "externalEntityName":"msdyn_paymentterms",
   "executionStatus":2,
   "fieldResponses":[
      {
         "name":"_cdm_defaultowningteam_value",
         "lookupEntityName":"teams",
         "lookupValues":"3401ce80-73f0-f011-8406-7ced8dac4a30",
         "responseMessage":{
            "errorMessage":"Exception message: Error reading JObject from JsonReader. Path '', line 0, position 0..For information on troubleshooting see https://go.microsoft.com/fwlink/?linkid=2244045.",
            "logDateTime":"2026-01-15T13:29:04.4057713Z",
            "verboseError":"Lookup key not found for _cdm_defaultowningteam_value. Null response for https://operations-sandbox-mahykhoory.crm15.dynamics.com/api/data/v9.0/cdm_companies?$select=_cdm_defaultowningteam_value&$filter=cdm_companyid eq 3401ce80-73f0-f011-8406-7ced8dac4a30 Error Error reading JObject from JsonReader. Path '', line 0, position 0."
         }
      },
      {
         "name":"msdyn_paymenttermid",
         "lookupEntityName":"msdyn_paymentterms",
         "lookupValues":"FOC,3401ce80-73f0-f011-8406-7ced8dac4a30",
         "responseMessage":{
            "errorMessage":"Exception message: Error reading JObject from JsonReader. Path '', line 0, position 0..For information on troubleshooting see https://go.microsoft.com/fwlink/?linkid=2244045.",
            "logDateTime":"2026-01-15T13:29:07.6245304Z",
            "verboseError":"Lookup key not found for msdyn_paymenttermid. Null response for https://operations-sandbox-mahykhoory.crm15.dynamics.com/api/data/v9.0/msdyn_paymentterms?$select=msdyn_paymenttermid&$filter=msdyn_name eq 'FOC' and msdyn_company/cdm_companyid eq 3401ce80-73f0-f011-8406-7ced8dac4a30 Error Error reading JObject from JsonReader. Path '', line 0, position 0."
         }
      }
   ],
   "recordResponses":[
      
   ],
   "isErrorCountUpdated":false,
   "dualWriteProcessingStage":3,
   "HasTransactionTimedOut":false
}
 
I've tried a lot of fixes from google including this, but no luck so far. 
 
Any help and advice appreciated.
 
Screenshot 2026-0...
Screenshot 2026-0...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • DF-18012317-0 Profile Picture
    9 on at
     This worked. Thank you so much.
  • Verified answer
    Bhanu Prakash K Profile Picture
    5 on at
    I too faced similar issue. There is dual-write app migration is happening should update APP ID. Follow below documentation. 
    For me installing Finance and Operations Virtual Entity resolved the issue.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
iampranjal Profile Picture

iampranjal 64

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 60 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 40 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans