# Aws-device-farm

**URL:** <https://community.jenkins.io/t/aws-device-farm/1813>\
**Category:** Ask a question\
**Tags:** question\
**Created:** [March 15, 2022, 3:04pm UTC](https://community.jenkins.io/t/aws-device-farm/1813 "2022-03-15T15:04:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ghsouza1](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/ghsouza1/32/1134_2.png) [@Ghsouza1](https://community.jenkins.io/u/Ghsouza1)\
**Post date:** [March 15, 2022, 3:04pm UTC](https://community.jenkins.io/t/aws-device-farm/1813/1 "2022-03-15T15:04:58Z")

</div>

Hey, I´m trying to use the post-build Actions - Run Tests on AWS Device Farm - however I´m facing this issue (see the image below)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/jenkins/original/2X/d/dfbeba4035a2870b63d0bde4eb6c59b576836463.png)

Does someone know to fix this issue or how to setup the aws-device-farm into a job?!

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [March 15, 2022, 6:12pm UTC](https://community.jenkins.io/t/aws-device-farm/1813/2 "2022-03-15T18:12:15Z")

</div>

thats the generic jenkins had an error screen. I recommend taking a look at your jenkins server logs to get a stacktrace or something to get an idea what went wrong.

---

<div class="post-metadata">

**Author:** ![Ghsouza1](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/ghsouza1/32/1134_2.png) [@Ghsouza1](https://community.jenkins.io/u/Ghsouza1)\
**Post date:** [March 15, 2022, 7:41pm UTC](https://community.jenkins.io/t/aws-device-farm/1813/3 "2022-03-15T19:41:55Z")

</div>

Tks fro that input @halkeye I´ve got this:

WARNING o.e.j.s.h.ContextHandler$Context#log: Error while serving [http://localhost:8088/job/mobileproject/descriptorByName/org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmRecorder/fillDevicePoolNameItems](http://localhost:8088/job/mobileproject/descriptorByName/org.jenkinsci.plugins.awsdevicefarm.AWSDeviceFarmRecorder/fillDevicePoolNameItems)  
com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS\_ACCESS\_KEY\_ID (or AWS\_ACCESS\_KEY) and AWS\_SECRET\_KEY (or AWS\_SECRET\_ACCESS\_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), com.amazonaws.auth.profile.ProfileCredentialsProvider@75452b47: profile file cannot be null, com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@308fcb79: Unable to load credentials from service endpoint]

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [March 15, 2022, 8:00pm UTC](https://community.jenkins.io/t/aws-device-farm/1813/4 "2022-03-15T20:00:22Z")

</div>

> [@Ghsouza1](#):
>
> Unable to load AWS credentials from environment variables (AWS\_ACCESS\_KEY\_ID (or AWS\_ACCESS\_KEY) and AWS\_SECRET\_KEY (or AWS\_SECRET\_ACCESS\_KEY)),

my guess is the plugin requires you to set env variables or something? which is weird its not using credentails. Or maybe its the underlying library failing when credentials don’t work.

Sadly I don’t know from there as I’ve not used the plugin myself.
