cancel
Showing results for 
Search instead for 
Did you mean: 

Composer Install Issue - Invalid credentials - After 189/287 finished

SOLVED

Composer Install Issue - Invalid credentials - After 189/287 finished

Attempting to run composer install against Magento root directory, I run into the following:

 

  [Composer\Downloader\TransportException]                                                                                                  
  Invalid credentials for 'https://repo.magento.com/archives/magento/module-invitation/magento-module-invitation-100.3.3.0.zip', aborting. 

 

Yes, I am using the proper access keys from the Market Place. 189 of the packages install successfully. Is this module not included in Magento 2? 

 

Thanks,

Jon

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

Well, I was not using the proper keys. I found out from Magento support that you must use keys generated by the account owner (at least in our case)! I am able to see our project, I can go to the marketplace and see "Access keys", I can click that link and I can generate keys, but those keys do not work when I try to use them for the composer install credentials!! They must be generated by the account owner's account for us and that is the solution. Hopefully this will be updated in the documentation.

View solution in original post

6 REPLIES 6

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

Hello @jd_krane 

 

Please refer https://magento.stackexchange.com/questions/109394/magento-2-invalid-credentials-for-https-repo-mage... for the solution.

 

Hope it helps.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

Wish that was it, but I am using the proper keys. 

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

Hello, @jd_krane again,

 

There's another reference:

https://community.magento.com/t5/Magento-2-x-Version-Upgrades/Invalid-credentials-for-https-repo-mag...

 

Thanks.

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution"

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

That says just about the same thing, use the access keys provided in the Marketplace. My composer install command go me through 187 packages and then stopped giving me that error. Something else is going on...

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

I even started over, and also generated new access keys, same thing.

Re: Composer Install Issue - Invalid credentials - After 189/287 finished

Well, I was not using the proper keys. I found out from Magento support that you must use keys generated by the account owner (at least in our case)! I am able to see our project, I can go to the marketplace and see "Access keys", I can click that link and I can generate keys, but those keys do not work when I try to use them for the composer install credentials!! They must be generated by the account owner's account for us and that is the solution. Hopefully this will be updated in the documentation.