Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Extra brackets in Publisher API sample #75

Open
vivialearn opened this issue Apr 27, 2023 · 0 comments
Open

Extra brackets in Publisher API sample #75

vivialearn opened this issue Apr 27, 2023 · 0 comments

Comments

@vivialearn
Copy link

I got a 400 error when running code based on this line:

u'versionCodes': [str([apk_response['versionCode']])],

The error was:

"Invalid value at 'track_config.releases[0].version_codes[0]' (TYPE_INT64), "[5]"".
Details: "[{'@type': 'type.googleapis.com/google.rpc.BadRequest', 'fieldViolations': [{'field': 'track_config.releases[0].version_codes[0]', 'description': 'Invalid value at \'track_config.releases[0].version_codes[0]\' (TYPE_INT64), "[5]"'}]}]"

When I removed the inner brackets, the error disappeared:

u'versionCodes': [str(apk_response['versionCode'])]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant