Magento: 2.4.3
Delivery method: In-Store Delivery
Stage: "Select Store" dialog in the checkout.
corresponding line in the log:
[2022-05-06 11:50:34] main.CRITICAL: Report ID: webapi-62750b8a1bf61; Message: Provided countryId does not exist. {"exception":"[object] (Exception(code: 0): Report ID: webapi-62750b8a1bf61; Message: Provided countryId does not exist. at /var/www/html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, InvalidArgumentException(code: 0): Provided countryId does not exist. at /var/www/html/vendor/magento/module-directory/Model/Country/Postcode/Validator.php:39)"} []
url:
/rest/default/V1/inventory/in-store-pickup/pickup-locations?
if the GET parameter searchRequest%5Barea%5D%5BsearchTerm%5D is set and equals test%3AIE , then there is the error 500; if the parameter equals test%3AUS or test%3ADE there is no error and reply is fine - provides pickup location.
IE is country code of Ireland