SearchResponse INVALID_PARAMETER for "ClothingAndAccessories"
When the SearchRequest is made for "ClothingAndAccessories" i get INVALID_PARAMETER error the request snippet SearchRequest request = new SearchRequest("ClothingAndAccessories","tee"); it works when i search for "Apparel" SearchRequest request = new SearchRequest("Apparel","tee"); (Note: I have both items in the JSON file) But i dont see "Apparel" in the supported category list here
https://developer.amazon.com/public/apis/earn/mobile-associates/docs/available-search-categories What could be the issue?
Hi Games2Win, Thanks for your patience. The problem is in the latest version of App Tester. We are going to update the app soon with the fix. "ClothingAndAccessories" is a valid category for MAA as mentioned in doc and that should be used for your product.
Hi I have also the same problem for searchRequest("ClothingAndAssesories","Shirts"); It shows INVALID_PARAMETER in logcat. plz let me know when the problem will fix And one question is that- what is the way to create JSON file with our conviniounce or with product of our choice.? please reply me your opinion how to get image url is Json file? Message was edited by: Pankaj Pardhi
Hi Pankaj, Thank you for writing back. How to find an image url for a product: 1. Open
http://www.amazon.com in a web browser. 2. Enter a ASIN or keyword for the product you are interested in. 3. From search results, right-click on a product image to see its url Currently, there is no better way to create a JSON file than editing it by hand. I recommend going to
http://www.amazon.com to get the product information to populate the JSON file Refer
https://developer.amazon.com/public/apis/earn/mobile-associates/docs/testing-your-app You can use the same JSON file is used for search and searchById API by replacing the values for your products.