goharbor / go-client

Client library with golang for accessing Harbor API.
Apache License 2.0
41 stars 19 forks source link

Error: X-Total-Count in header must be of type int64: "" #10

Closed fnxpt closed 2 years ago

fnxpt commented 2 years ago

I checked #6 and Im still facing the same issue with version 0.24.3.

fnxpt commented 2 years ago

I found the issue, there was a issue with the endpoint, if you have the same issue, be sure you have the complete api path

vvavad commented 2 years ago

I am using the Harbor demo setup(https://demo.goharbor.io/) and facing this error. Any way this can be fixed?

YaozhongZhang commented 2 years ago

I am using the Harbor demo setup(https://demo.goharbor.io/) and facing this error. Any way this can be fixed?

@vvavad the URL shoud be "https://demo.goharbor.io/api/v2.0/"