Open WellingtonNico opened 3 years ago
Hi @WellingtonNico I think site ids goes like these MLA: Argentina. MLB: Brasil. MLC: Chile. MLU: Uruguay. MCO: Colombia. MLV: Venezuela. MPE: Perú. MLM: México.
Be sure to set the correct host server if you are using Brasil's
// 1: "https://auth.mercadolibre.com.ar" // 2: "https://auth.mercadolivre.com.br" // 3: "https://auth.mercadolibre.com.co" // 4: "https://auth.mercadolibre.com.mx" // 5: "https://auth.mercadolibre.com.uy" // 6: "https://auth.mercadolibre.cl" // 7: "https://auth.mercadolibre.com.cr" // 8: "https://auth.mercadolibre.com.ec" // 9: "https://auth.mercadolibre.com.ve" // 10: "https://auth.mercadolibre.com.pa" // 11: "https://auth.mercadolibre.com.pe" // 12: "https://auth.mercadolibre.com.do" // 13: "https://auth.mercadolibre.com.bo" // 14: "https://auth.mercadolibre.com.py"
// Use the correct auth URL $config->setHost($servers[2]["url"]);
im just getting this response: {'message': 'Invalid siteId', 'error': 'bad_request', 'status': 400, 'cause': []}
i used 'MLB' id, also tryied with 'MLC'.
data = { 'site_id':'MLB' }