BrickTwo / BrickHunter

26 stars 8 forks source link

Nothing happens when transfering parts to LEGO website #225

Open henriquedesousa opened 2 days ago

henriquedesousa commented 2 days ago

Hello and first of all, thank you for this nice extension. I've never bought anything yet, although I've tried in the past. Always end up doing it manually, but this time I wanted to go via Brickhunter, but I've been unable to. While trying to transfer items from BrickHunter to the LEGO website it reloads, but nothing gets added. Tried both Chrome and Firefox, I set the correct language and country, to no avail.

I then opened dev console and noticed "429 Too Many Requests" while POSTing to https://lego.report-uri.com/r/t/csp/wizard

Then I tried one single item.. and it worked! The maximum number of items I was able to transfer were 4.

So this might not be anything solvable by the extension, but I'd love to know if anyone experienced the same.

Many thanks in advance

BrickTwo commented 2 days ago

that's odd, it still works on my side with large lists of 200 lots. also it actually doesn't matter how many lots you are transferring, since there is always no more than two requests (one for requesting the current cart and one for adding the new items) and in some case a third when there are already some parts in the cart.

can you maybe send a screenshot of the network activities in the devtools (clear the network transactions before transferring the items)?

henriquedesousa commented 2 days ago

Thank you for the promptly reply. I've attached the HAR for both browsers. www.lego.com.chrome.har.txt www.lego.com_Archive [24-11-20 17-13-25].firefox.har.txt Hope this helps.

EDIT Strangely, the 429 went away, but the outcome is the same: image

BrickTwo commented 1 day ago

What happens here is nothing under my control and just what happens after BrickHunter sends a redirect in the lego.com tab. The part transfer is already finished at this point. can you please send the same but for the BrickHunter Tab? Also check if there is an error in the console after transferring the items.