Skip to content

something is wrong when using filters #2

@MyNameIsAlaa

Description

@MyNameIsAlaa

I'm trying to use filters with no luck, i keep getting

Error: Invalid Signature - provided signature does not match [woocommerce_api_authentication_error]

I get that error every time i try to use filters like this:

$params = [
    'filter' => [
        'created_at_min' => '2016-01-01',
        'created_at_max' => '2016-01-15',
    ],
    'page' => 1,
];

if i remove the dates filters it will work:

$params = [
    'filter' => [
        'limit' => 15,
    ],
    'page' => 1,
];

category filter show the same message:

$params = [
    'filter' => [
        'limit' => 15,
        'category' => 'Music',
    ],
    'page' => 1,
];

it will work if i remove it:

$params = [
    'filter' => [
        'limit' => 15,
    ],
    'page' => 1,
];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions