Notice: Undefined index: amazon_acc_token in /home/koontak/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/20251208/us-east-1/execute-api/aws4_request, SignedHeaders=content-type;host;x-amz-date;x-amz-access-token, Signature=4af0bcf2cb431a2f8c3f56577659c7b65cad3ffadf4beb294758831ab0158686
    [2] => X-Amz-Date: 20251208T155520Z
    [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."
    }
  ]
}