jlevers / selling-partner-api

A PHP client library for Amazon's Selling Partner API
BSD 3-Clause "New" or "Revised" License
404 stars 198 forks source link

Fatal error: Uncaught Error: Class 'Aws\Sts\StsClient' not found #59

Closed salegoodluck closed 3 years ago

salegoodluck commented 3 years ago

Fatal error: Uncaught Error: Class 'Aws\Sts\StsClient' not found in jlevers/vendor/jlevers/selling-partner-api/lib/Authentication.php(167):

RonJeremyR6 commented 3 years ago

Having the same problem (Windows 10):

Fatal error: Uncaught Error: Class 'Aws\Sts\StsClient' not found in \vendor\jlevers\selling-partner-api\lib\Authentication.php:231

jlevers commented 3 years ago

Could you both try running composer update and see if that fixes it?

jordan26 commented 3 years ago

I had to install aws-sdk-php via composer too.

https://github.com/aws/aws-sdk-php composer require aws/aws-sdk-php

jlevers commented 3 years ago

Sorry, this was a regression in the last release -- it should be fixed in v3.0.6, so just run composer update and you'll be good to go.

RonJeremyR6 commented 3 years ago

It is working now, thank you for the quick change.