# SDK list blockchain with pageSize parameter Issue - Error Code 400

**URL:** <https://community.fireblocks.com/t/sdk-list-blockchain-with-pagesize-parameter-issue-error-code-400/3185>\
**Category:** Support\
**Created:** [July 16, 2026, 12:53pm UTC](https://community.fireblocks.com/t/sdk-list-blockchain-with-pagesize-parameter-issue-error-code-400/3185 "2026-07-16T12:53:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fberthome](https://avatars.discourse-cdn.com/v4/letter/f/94ad74/32.png) [@fberthome](https://community.fireblocks.com/u/fberthome)\
**Post date:** [July 16, 2026, 12:53pm UTC](https://community.fireblocks.com/t/sdk-list-blockchain-with-pagesize-parameter-issue-error-code-400/3185/1 "2026-07-16T12:53:21Z")

</div>

HI,  
I use  
Fireblocks Sandbox env and  
com.fireblocks.sdk:fireblocks-sdk:14.0.0

I try to call  
com.fireblocks.sdk.api.BlockchainsAssetsApi.listAssets

it works by passing null to all parameters to this method:  
listAssets(  
null,  
null,  
null,  
null,  
null,  
null,  
null,  
null,  
null  
);  
and I can get my 73 listed Assets

But when I try with pagesize = 10 like

listAssets(  
null,  
null,  
null,  
null,  
null,  
null,  
null,  
BigDecimal.TEN,  
null  
);

I get  
java.util.concurrent.CompletionException: graphql.CodedException: Execution error: com.fireblocks.sdk.ApiException: listAssets call failed with: 400 - {“message”:“Bad Request Exception”,“code”:0}

Can you explain ? Did someone already have this issue?

Thanks  
Fabien

---

<div class="post-metadata">

**Author:** ![guisalmo](https://avatars.discourse-cdn.com/v4/letter/g/82dd89/32.png) [@guisalmo](https://community.fireblocks.com/u/guisalmo)\
**Post date:** [August 26, 2026, 9:10pm UTC](https://community.fireblocks.com/t/sdk-list-blockchain-with-pagesize-parameter-issue-error-code-400/3185/2 "2026-08-26T21:10:25Z")

</div>

Hi Fabien,

The argument position looks correct. The issue appears to be the value itself.

For GET /assets, the OpenAPI specification defines pageSize with a minimum of 100, a maximum of 1000, and a default of 500. Therefore, BigDecimal.TEN sends pageSize=10, which is outside the accepted range and results in the 400 response.

Could you try:

BigDecimal pageSize = BigDecimal.valueOf(100);

listAssets(  
null,  
null,  
null,  
null,  
null,  
null,  
null,  
pageSize,  
null  
);

The generic “Bad Request Exception” could definitely be clearer, but pageSize=10 appears to be the cause.

> **[List Supported Assets - Fireblocks Developer Docs](https://developers.fireblocks.com/reference/list-supported-assets)**
