# Google play deploy Failed to perform edit insert call

**URL:** <https://discuss.bitrise.io/t/google-play-deploy-failed-to-perform-edit-insert-call/12856>\
**Category:** Builds\
**Tags:** android\
**Created:** [May 5, 2020, 4:06pm UTC](https://discuss.bitrise.io/t/google-play-deploy-failed-to-perform-edit-insert-call/12856 "2020-05-05T16:06:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasbiking](https://avatars.discourse-cdn.com/v4/letter/t/57b2e6/32.png) [@thomasbiking](https://discuss.bitrise.io/u/thomasbiking)\
**Post date:** [May 5, 2020, 4:06pm UTC](https://discuss.bitrise.io/t/google-play-deploy-failed-to-perform-edit-insert-call/12856/1 "2020-05-05T16:06:47Z")

</div>

I’ve been trying this tutorial of deployment to google play ([https://www.bitrise.io/integrations/steps/google-play-deploy](https://www.bitrise.io/integrations/steps/google-play-deploy)) but with no success.

At some point I’m getting an error `Failed to perform edit insert call, error: Post https://www.googleapis.com/androidpublisher/v3/applications/org.aacctt.[REDACTED]/edits?alt=json&prettyPrint=false: metadata: GCE metadata "instance/service-accounts/default/token?scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fandroidpublisher" not defined`

Already tried to find issue with token scopes, but didn’t find nothing useful. Any idea what might be wrong?

Fragment of logs:

```auto
+------------------------------------------------------------------------------+

| (9) google-play-deploy@3 |
+------------------------------------------------------------------------------+
| id: google-play-deploy |
| version: 3.0.2 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: go |
| time: 2020-05-04T17:39:34Z |
+------------------------------------------------------------------------------+
| |
Getting configuration
Configs:
- JSONKeyPath: *****
- PackageName: org.aacctt.[REDACTED]
- AppPath: /bitrise/deploy/app-release-bitrise-signed.apk\n
- ExpansionfilePath: 
- Track: internal
- UserFraction: 0
- WhatsnewsDir: 
- MappingFile: 
Found .apk file: /bitrise/deploy/app-release-bitrise-signed.apk
Configuration read successfully
Authenticating
Authenticated client created
Create new edit
Failed to perform edit insert call, error: Post https://www.googleapis.com/androidpublisher/v3/applications/org.aacctt.[REDACTED]/edits?alt=json&prettyPrint=false: metadata: GCE metadata "instance/service-accounts/default/token?scopes=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fandroidpublisher" not defined
| |
+---+---------------------------------------------------------------+----------+
| x | google-play-deploy@3 (exit code: 1) | 12.45 sec|
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-google-play-deploy/issues |
| Source: https://github.com/bitrise-io/steps-google-play-deploy |
+---+---------------------------------------------------------------+----------+

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [June 4, 2020, 4:06pm UTC](https://discuss.bitrise.io/t/google-play-deploy-failed-to-perform-edit-insert-call/12856/2 "2020-06-04T16:06:52Z")

</div>

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