How many projects do you have? Your project number might exceed the default maximum limit, please try to add a querying string page[limit]
.
e.g.
https://developer.api.autodesk.com/project/v1/hubs/:hub_id/projects?page[limit]=100
Commonly, you may see the following pagination fields while your total projects are too many to display, then you need to increase the display number by adding a querying string page[limit]
:
"links": {
"self": {
"href": "/project/v1/hubs/a.hub.id.123/projects"
},
"first": {
"href": "project/v1/hubs/a.hub.id.123/projects?page%5Bnumber%5D=0&page%5Blimit%5D=2"
},
"prev": {
"href": "/project/v1/hubs/a.hub.id.123/projects?page%5Bnumber%5D=0&page%5Blimit%5D=2"
},
"next": {
"href": "/project/v1/hubs/a.hub.id.123/projects?page%5Bnumber%5D=2&page%5Blimit%5D=2"
}
},
Ref: https://forge.autodesk.com/en/docs/data/v2/developers_guide/pagination/#project-and-data-service-pagination
Update
If the above doesn't work for you, you may pass an extra request header x-request-id
while calling https://developer.api.autodesk.com/project/v1/hubs/:hub_id/projects
. This parameter can be any string, but I will advise you to use the combination of your name or company name plus a random GUID. e.g.
curl -v 'https://developer.api.autodesk.com/project/v1/hubs/:hub_id/projects' \
-H 'Authorization: Bearer {{ACCESS_TOKEN}}' \
-H 'x-request-id: yongjoon-4a539a6a-14bb-4ddd-b32e-74e430aff590' \
Afterward, pass the x-request-id
to us. We will consult our engineering team for insights and backend logs. Thanks!