Skip to main content
ManoelMartins
Staff
Staff
March 27, 2025

Technical Tip: Unable to create local-in-policy due to 'entry not found in datasource' error

  • March 27, 2025
  • 0 replies
  • 954 views
Description

This article explains the 'entry not found in datasource' error that occurs when trying to create local-in-policy with an existing address object.

Scope

FortiOS.

Solution

A frequent mistake in creating an address object involves defining an associated interface as illustrated in the example below:

 

Address ObjectAddress Object

 

config firewall address     edit "BR"         set uuid 35875a32-2f19-51ef-5142-81269679329c         set type geography         set associated-interface "wan1"         set color 15         set country "BR"     next End

 

When trying to configure local-in-policy which references an interface (internal1) that is different from the associated-interface (wan1) on the firewall address (BR), the 'entry not found in datasource' error is shown on FortiGate CLI.

 

Error Local-in-policyError Local-in-policy

 

In order to resolve this error, either change the associated-interface from firewall address 'BR' or define the same interface as local-in-policy.

 

Related documents:

Local-in policy 

Address objects