Exception 'Resource not found for the segment 'XXX'' when calling OData Service

Description

When you call a Sequence OData service, the exception Resource not found for the segment 'XYZ' displays in the Event Viewer and Fiddler. HTTP Error code 404.

Cause

Service.

Affected Versions

7.7 and later.

Solution

Check the following information in the OData service call.

  • Service URL definition
  • Change XYZ to a valid Lookup Query name.