Notice: Undefined index: amazon_acc_token in /home/koontak127/public_html/php/amazon/restrictedtoken.php on line 96

HTTP code: 403
====URL======https://sellingpartnerapi-na.amazon.com/tokens/2021-03-01/restrictedDataToken
====Header======
Array
(
    [0] => Content-Type: application/json
    [1] => Authorization: AWS4-HMAC-SHA256 Credential=AKIAZVMTVJBIMKWYHINX/20261012/us-east-1/execute-api/aws4_request, SignedHeaders=content-type;host;x-amz-date;x-amz-access-token, Signature=43e01358b3a3c67fdee0a4fde811bfac1be039896d8edbbbac14134392b3c8db
    [2] => X-Amz-Date: 20261012T204514Z
    [3] => x-amz-access-token: 
)

====body======
{"restrictedResources":[{"method":"GET","path":"\/orders\/v0\/orders\/112-2597783-2793032","dataElements":["buyerInfo","shippingAddress"]}]}
====Response======
{
  "errors": [
    {
      "code": "Unauthorized",
      "message": "Access to requested resource is denied.",
      "details": "Access token is missing in the request header."
    }
  ]
}