REST API Error
-
Hi, I logged into USPS and got my user api and secret. Loaded them into your app and get OK. Then my cart page showed an error and no rates. Broke my site. So I deleted the REST API and all was okay again. There was a notice to copy the error. see below
Array
(
[apiVersion] => /prices/v3
[error] => Array
(
[code] => 400
[message] => OASValidation OpenAPI-Spec-Validation-Domestic-Prices with resource oas://domestic-prices-v3.yaml: failed with reason: [ERROR - Instance failed to match all required schemas (matched only 1 out of 2): [/allOf/0: Object has missing required properties ([height,length,width])]ERROR - Object has missing required properties ([height,length,width]): []]
[errors] => Array
(
[0] => Array
(
[title] => OASValidation OpenAPI-Spec-Validation-Domestic-Prices with resource "oas://domestic-prices-v3.yaml": failed with reason: "[ERROR - Instance failed to match all required schemas (matched only 1 out of 2): [/allOf/0: Object has missing required properties (["height","length","width"])]
ERROR - Object has missing required properties (["height","length","width"]): []]"
[detail] =>
)) ))
The topic ‘REST API Error’ is closed to new replies.
