Git Product home page Git Product logo

agconnect-publishing-gradle-plugin's Introduction

agconnect-publishing-gradle-plugin's People

Contributors

syslogic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

agconnect-publishing-gradle-plugin's Issues

How to make get upload-url api call working

Hey, we are trying to make api call to upload-url but all I am getting is 404

$ curl -I -H 'Accept: application/json' \
               -H 'Content-Type: application/json' \
               -H "client_id: ${client_id}"
               -H "Authorization: Bearer ${access_token}" \
               'https://connect-api.cloud.huawei.com/api/publish/v2/upload-url?appId=${appid}&suffix=aab&releaseType=1'
HTTP/1.1 404 Not Found
Connection: keep-alive
Date: Thu, 23 Mar 2023 15:10:26 GMT
X-Cache: Error from cloudfront
Via: 1.1 f3303a5632dc925c26253530523fa328.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: PRG50-C1
X-Amz-Cf-Id: cgRkAZ4FbsHwuJnAda-VCcPe2QI7N87oPWd8h6aBb2fH6MqEhMoXMA==

We have

  1. created an api client in AG in users-permission - connect api - api client - create. It has role of administrator and our only project which our apps are part of
  2. Used its client_id and client_secret in curl above
  3. Fetched access_token by succesfully calling https://connect-api.cloud.huawei.com/api/oauth2/v1/token

We have double checked all with your source code and every single thing seems to be matching. Headers, query params etc. Is there anything we need to do in AG console? Enable something somewhere....

We are terribly sorry to mis-use this bugtracker for this question. Your gradle plugin is one of rare resources we were able to find. You can maybe as well see this as question of what needs to be configured in AppGallery Connect to make your gradle plugin work. Thanks for any sort of reply ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.