'getting error installing the composer in existing magento2 project

Magento2 Composer install is not working. I'm getting an error when installing the composer in an existing project:

getting error when installing the composer in magento 2 existing project



Solution 1:[1]

You need valid credentials from your Amasty account. It could be that the credentials you're using have expired..

Log into your Amasty account to check, and make sure you've added your amasty keys to auth.json

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Andrew