# DYNAMICS:INVALID_PAGE_SIZE in MuleSoft: cause and fix

Source page: https://ipaaserrors.com/mulesoft/dynamics-invalid-page-size
Platform: MuleSoft · Microsoft Dynamics 365 Connector · Code DYNAMICS:INVALID_PAGE_SIZE
Checked against vendor docs: 2026-12-05

DYNAMICS:INVALID_PAGE_SIZE means the page size set on a Microsoft Dynamics 365 operation is invalid, for example a fetch size above 5000. Set the fetch size to 5000 or lower.

## Error text

```
Error type: DYNAMICS:INVALID_PAGE_SIZE
```

## Likely causes

- The page size is invalid, for example, if the fetch size value exceeds 5000.

## How to fix it

1. Find the operation that sets the fetch or page size.
2. Set the value to 5000 or lower.
3. Rerun the flow.

## Notes

The MuleSoft troubleshooting page states the cause of this error type but gives no step-by-step fix. The steps above follow directly from that cause.

## Sources

- [Troubleshooting Microsoft Dynamics 365 Connector](https://docs.mulesoft.com/microsoft-dynamics-365-connector/latest/microsoft-dynamics-365-connector-troubleshooting)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/mulesoft/dynamics-invalid-page-size and the vendor documentation above.
