jcabi / jcabi/jcabi-github

Fetching user repos

Open
#1,263 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
307
Forks
144
Avg merge
1d 22h
Merged PRs (30d)
14

Description

When I tried to fetch repos using ""

```
for (Repo repo : github.repos().iterate("")){
System.out.println(repo);
}
```

one error was throwed:

```
ain] INFO com.jcabi.http.request.BaseRequest - #fetch(GET api.github.com /): [200 OK] in 2s
javax.json.JsonException: Cannot read JSON array, found JSON object
at org.glassfish.json.JsonReaderImpl.readArray(JsonReaderImpl.java:122)
at com.jcabi.http.response.JsonResponse$VerboseReader.readArray(JsonResponse.java:169)
at com.jcabi.github.RtValuePagination$Items.fetch(RtValuePagination.java:211)
at com.jcabi.github.RtValuePagination$Items.hasNext(RtValuePagination.java:185)
at BitbucketTest.main(BitbucketTest.java:21)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.