Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Merchanter
English (UK)
US English (US)
GB English (UK)
  • Home
  • How to use Merchanter
  • OData

OData error message - We encountered an error while trying to connect

Clear Excel filtering error when new field added to Odata feed

Written by Chaz Davenport

Updated at March 10th, 2023

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Getting Started
    Training Sessions
  • How to use Merchanter
    Sales Invoicing & Credits Products Purchasing Stock Control OData System Settings & Administration Milling & Value Added Processing Sales Order Processing Customers System Release Updates Pricing & Costs Certification Order Picking Agency Sales
  • API Documentation
  • Integrations
    Sage 50 Woo Commerce ECS Webshop Link NearSt QuickBooks Xero ShopWired
  • FAQs
  • Industry Articles
+ More

Table of Contents

How to clear your Excel cache

When a new field has been added to the OData feed, you may get an error with words to the effect “We encountered an error while trying to connect - Details"; ”We couldn't parse OData…."; etc.

This can be caused when new fields are added to the OData feed which you use for creating your own reports, and the Excel cache needs to be cleared down to read the new table schema.

It is more common when accessing larger datasets, and there is a filter in the URL - for example, when selecting Stock Summary data from a certain accounting period. 

Example URL - https://unitrade400-YOURSYSTEM.mendixcloud.com/OData/Analysis/StockSummaries?$filter=Period eq ‘202201’ 

To clear this error, you need to clear your Excel cache. 

 

Your browser does not support HTML5 video.

 

How to clear your Excel cache

To do this open Excel

  • Click on “Data” tab
  • then “Get Data” button
  • In the menu below, select “Query Options” button
  • In the resultant window, under “Global”
  • select “Data Load”
  • Scroll down the window to “Data cache management options”
  • click the “Clear Cache” button

When the process has completed, click “OK” then restart your OData feed, complete with the filter command and all will come through as it should. 

 

 

 

 

odata feed excel filter

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Merchanter OData Tables
  • How to extract Merchanter data into Excel
  • How to produce Stock Summaries using Merchanter OData
Solution Vendor Color.png

sales@ten-25.co.uk

01202 861606

Peartree Business Centre, Cobham Road, Ferndown, BH21 7PT, United Kingdom

BMF Service Member logo.jpg
  • linkedin
  • twitter
  • facebook
Privacy Policy

©2020 by Ten-25 Software Ltd.. Proudly created with Wix.com

Expand