Closed james64 closed 1 year ago
API client created in AppGallery web console needs to be configured with Project
set to N/A
as advised in this stack overflow. It then works.
@james64 Haven't documented this here, because I've created a table which lists which credentials are required for which API (this Java/Gradle project is only an add-on to a PHP project, with similar functionality): https://github.com/syslogic/php-hms - the equivalent: https://github.com/syslogic/php-hms/blob/master/src/AppGallery/Publishing/Publishing.php
Hey, we are trying to make api call to upload-url but all I am getting is 404
We have
users-permission - connect api - api client - create
. It has role of administrator and our only project which our apps are part ofclient_id
andclient_secret
in curl aboveaccess_token
by succesfully callinghttps://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 :+1: