Error Status Code: 401 1001: Invalid access token new issue
Closed this issue · 1 comments
waqar81 commented
Status Code: 401 1001: Invalid access token Invalid access token. Check the value of the Authorization HTTP request header.
$service = new Services\InventoryService([
'authorization' => $config['sandbox']['oauthUserToken'],
'requestLanguage' => 'en-US',
'responseLanguage' => 'en-US',
'sandbox' => true
]);
sahakavatar commented
+++++++++++++++++++++++++++++++++
$this->oAuthService = new Services\AccountService([
'authorization' => $this->getFreshToken()
]);
Exception (401)
%s: %s %s 1001 Invalid access token Invalid access token. Check the value of the Authorization HTTP request header.