Hi

I work with magento rest api and need get products by certain id.
For it I use filter like
Code:
api/rest/products/?filter[0][attribute]=entity_id&filter[0][in][0]=564&filter[0][in][1]=563
This work but until when filter consist 10 id. If filter consist great than 10 id magento send
Code:
{"messages":{"error":[{"code":401,"message":"oauth_problem=signature_invalid"}]}}
success request:
Code:
/api/rest/products?filter[0][in][4]=244&filter[0][in][6]=246&filter[0][in][7]=250&filter[0][in][9]=248&filter[0][in][8]=249&filter[0][in][1]=243&dir=asc&filter[0][in][0]=241&filter[0][in][2]=242&filter[0][in][3]=245&filter[0][in][5]=247&order=entity_id&filter[0][attribute]=entity_id
but when added 11 id

fail request:
Code:
/api/rest/products?filter[0][in][4]=244&filter[0][in][6]=246&filter[0][in][7]=250&filter[0][in][9]=248&filter[0][in][10]=256&filter[0][in][8]=249&filter[0][in][1]=243&dir=asc&filter[0][in][0]=241&filter[0][in][2]=242&filter[0][in][3]=245&filter[0][in][5]=247&order=entity_id&filter[0][attribute]=entity_id
What is wrong? How make correct request with filter?

P.S. I can't use 'from' and 'to' in filter, because my list id isn't range(4,5,6,7,8), my list id consist different id(34, 23, 2, 5, 343)

View more threads in the same category: