Magento-RestApi icon indicating copy to clipboard operation
Magento-RestApi copied to clipboard

[Magento 1.9.2.4] Resource collection filtering error

Open TheBanHammer opened this issue 8 years ago • 3 comments

Hi,

I've been working on connecting to a Magento site using Magento-RestApi and got it working fine with version 1.7.* recently though we upgraded to version 1.9.2 and could no longer retrieve orders or products from Magento.

The error we get is:

{
    messages: {
        error: [
            {
                code: 400,
                message: "Resource collection filtering error."
            }
        ]
    }
}

TheBanHammer avatar Apr 18 '16 14:04 TheBanHammer

Hi, I have encountered same problem too. Have you resolved this issue?

Jen143 avatar Aug 22 '16 03:08 Jen143

` FilterExpression filterex = new FilterExpression("status", ExpressionOperator.@in, "Processing"); Filter filter = new Filter(); filter.PageSize = 100; filter.FilterExpressions.Add(filterex);

        var m_Orders = await m_Client.GetOrders(filter);`

returns {"messages":{"error":[{"code":400,"message":"Resource collection filtering error."}]}}

Also running 19.2.4

BeeHealthLimited avatar Aug 25 '16 11:08 BeeHealthLimited

I had the same issue. Check that System => Web Service => REST Attributes was configured for your user.

pulse-aleksandr avatar Sep 08 '16 18:09 pulse-aleksandr