Back

[SOLVED] "Invalid Access Key ID" error when running "vendor/bin/phpunit --configuration phpunit.xml"

  • 0
  • Storage
Jimou
17 Jul, 2023, 20:25

Hello everyone,

My friends and I are attempting to integrate the Microsoft Azure Blob storage adapter into the Utopia PHP codebase (the first phase of the issue here: https://github.com/appwrite/appwrite/issues/3986).

We are running tests to ensure the code we have so far is correct by running "vendor/bin/phpunit --configuration phpunit.xml" into our terminals, but we get the error:

"<Error><Code>InvalidAccessKeyId</Code><Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId></AWSAccessKeyId><RequestId>..."

...in files we haven't edited. We made sure that it isn't our code that is causing this by running the test command in the main branch, and we get the same errors. Are these errors expected behavior?

I have included screenshots of the errors and additional clarification to this post.

Thanks for any help in advance!

TL;DR
User is running tests for integrating Microsoft Azure Blob storage adapter into the Utopia PHP codebase. They are getting an "Invalid Access Key ID" error. It is confirmed that Azure Blob storage is not supported. The solution is to comment out other provider tests and only test the new provider.
Drake
19 Jul, 2023, 04:48

I don't think azure blob storage is supported. Only the providers listed in our docs are supported

Jimou
19 Jul, 2023, 18:43

Hey Steven, thanks for getting back. If I'm not mistaken, resolving the open issue at hand should allow blob storage to be supported right?

Drake
19 Jul, 2023, 18:47

yes

Drake
19 Jul, 2023, 18:47

if you're running the tests locally, some of them could be failing because you don't have the secrets for the other providers...so if you're working on adding a new provider, you might want to comment out the others from the tests and only test your provider

Jimou
19 Jul, 2023, 20:40

[SOLVED] "Invalid Access Key ID" error when running "vendor/bin/phpunit --configuration phpunit.xml"

Jimou
19 Jul, 2023, 20:40

Thanks - that worked!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more