News:

AbanteCart v1.4.2.1 is released.

Main Menu

Error Code 400

Started by cartagan, September 23, 2025, 02:04:57 PM

Previous topic - Next topic

cartagan

Getting the below error on the checkout page and no shipping method is showing on orders summary. Checked the log and cannot find anything regarding this error. Using the default free shipping and weight based shipping.

Any ideas?

{"error_title":"Application Error!","error_text":"Please check error log for more information","error_code":400}

Basara

Hello
Please try clearing the AbanteCart cache first and then repeat the checkout process to see if the error appears again.

If it does, we'll need more details to help:
    •    The exact error message from the AbanteCart error log (not just the popup).
    •    A screenshot of the error on the checkout page.
    •    Your AbanteCart version.
    •    The theme name you are using.
    •    Whether this happens during guest checkout or registered customer checkout.
    •    The delivery address details used during checkout.

With this info, it will be easier to diagnose why the shipping methods are not showing.

cartagan

Thanks for getting back to me. Not sure what is going on but I'm not seeing the error at the moment. A few answers to your questions below.

Quote from: Basara on September 24, 2025, 01:56:44 AMHello
Please try clearing the AbanteCart cache first and then repeat the checkout process to see if the error appears again.

If it does, we'll need more details to help:
    •    The exact error message from the AbanteCart error log (not just the popup). -Nothing in the error log, that's part of my issue.
    •    A screenshot of the error on the checkout page.
    •    Your AbanteCart version. -1.4.1
    •    The theme name you are using. -Novator
    •    Whether this happens during guest checkout or registered customer checkout. -Don't allow guest checkout
    •    The delivery address details used during checkout. -Address doesn't seem to matter. Happened on a few different ones.

With this info, it will be easier to diagnose why the shipping methods are not showing.

Basara

Please review each method under Extensions > Shipping: make sure the geo zone covers the delivery address, and remove any limits (weight min/max, volume min/max, subtotal min/max). These filters commonly hide methods. For Free Shipping, set threshold to 0 while testing; for Weight-Based ensure products have weights and the rate table covers the cart total and address Location. Clear cache and retest.

Also consider updating to AbanteCart 1.4.2.1 (backup files + DB first), as this may already be fixed.

cartagan

My main question is how do find out what that error means since it's not in the log like it says it should be.

Basara

Quote from: cartagan on September 26, 2025, 09:26:36 AMMy main question is how do find out what that error means since it's not in the log like it says it should be.

Start with checking the delivery methods limits

cartagan

Thank you again. I understand what you are saying but I would like to know what the error:400 actually means since it's not in the log. Is there a list of error codes anywhere?

abolabo

hi, error code 400 usually set in case code is "unknown". 
Please provide more details how we can replicate this bug locally.
We need to know
host, OS, php version, url which returns 400 and precise settings of your cart. 
Screencast video and screenshots will be useful.

cartagan

Thanks for responding. I'll keep an eye to see if it happens again.

Forum Rules Code of conduct
AbanteCart.com 2010 -