New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Future<List<WooProductCategory>> getProductCategories #61
Comments
The Problem is
you are passing an empty value there. orderby - string https://woocommerce.github.io/woocommerce-rest-api-docs/?shell#list-all-product-categories |
It is just to show which part was giving errors, i put the values inside but the error isn't about them. |
I tested all the options for orderBy by itself alone and along with order (asc | desc)
the only time it had thrown this woocommerce error below as the one u also have shown
is when the orderBy value is any other than the provided options in the Woocommerce Rest Api. So if the error is not otherwise, please do provide some more details.
|
You are right, it works. Strange Anyway 👌 |
calling woocommerce.getProductCategories(orderby: "") throws the exception above with the message:
Orderby isn't a valid parameter.
The text was updated successfully, but these errors were encountered: