Fatal error: Uncaught RuntimeException: SP-API error (400): {
"errors": [
{
"code": "InvalidInput",
"message": "The input you have submitted is not valid. If createdBefore or lastUpdatedBefore is specified, it should be equal to or after the createdAfter or lastUpdatedAfter and at least 2 minutes before current time.",
"details": ""
}
]
} in /var/www/html/src/amz/cAmzOrders.php:169
Stack trace:
#0 /var/www/html/src/amz/cAmzOrders.php(250): RTBE\amz\cAmzOrders->signedRequest('GET', '/orders/2026-01...', Array)
#1 /var/www/html/testAmzOrders.php(39): RTBE\amz\cAmzOrders->getOrdersList(Array, '2026-04-09T17:2...', Array, 100)
#2 {main}
thrown in /var/www/html/src/amz/cAmzOrders.php on line 169