Error 403 Unauthorized request - Step test Android & iOS

test
step
ios
android
ui
#1

Hello,

I’ve 2 apps, Android and iOS, and I have a problem with the step “iOS Device Testing” & “Android Virtual Device Testing” these 2 step don’t run with the error 403 “Unauthorized request”
The iOS build was working the morning so i don’t know where is the problem

exemple build iOS : https://app.bitrise.io/build/f7a229a160d4e96a
exemple build Android : https://app.bitrise.io/build/11a81414f999f206

There is a problem with the api Bitrise ? or other problem ?

2 Likes

#2

We are having the same issue here:


Here is our step definition:

  • virtual-device-testing-for-android@1.0.5:
    inputs:
    - test_type: instrumentation
1 Like

#3

It’s a known incident: https://status.bitrise.io/incidents/wkzb8ftc5fbp

0 Likes

#4

Hi everyone!

Sorry for the delay from us on this and the inconvenience, this issue was only recently solved completely, so you shouldn’t experience it anymore.

1 Like

#5

Hey, this is still happening over here. Is there any additional set up I need to do?

Here is a link to the build: https://app.bitrise.io/build/44f356ada7df516f

0 Likes

#6

By the way, the APKs are being sent to my e-mail, but the error is still happening.

0 Likes

#7

hy @dicksson.oliveira
the problem here is that the two apks are not the same type,
you should either run
:bitrise:assembleDebug :bitrise:assembleDebugAndroidTest or
:android-sdk:android-sdk-common:assembleDebug :android-sdk:android-sdk-common:assembleDebugAndroidTest
in the gradle runner step

0 Likes

#8

@fehersanyi-bitrise, that wasn’t it, but the error is gone! I guess the 403 issue was still affecting me.

0 Likes

#9

Hello there,

I’m absolutely sure, that if the 2 apks are of not the same variant, the step will not work :upside_down_face:
so the issue you have now is something different, could you please send me your latest build’s url please?

0 Likes

#10

Hey @fehersanyi-bitrise,

The step is working, though. I followed this Medium article: https://medium.com/@bitrise/test-just-a-library-not-a-whole-app-on-bitrise-2d037bd06d58

I created a dummy APK (bitrise in this case) and used the :android-sdk:android-sdk-common test APK as inputs to the Virtual Device Test step. I generated the APKs by running bitrise:assembleDebug and :android-sdk:android-sdk-common:assembleDebugAndroidTest tasks, respectively, during the Gradle Runner step. Both have the same debug variant.

It seems to be working - the test results for :android-sdk:android-sdk-common are being displayed as expected. Here’s a link to the latest build: https://app.bitrise.io/build/94c16479d03934bc

1 Like

closed #11

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

0 Likes