Cursor pagination not working in /api/v2/locales.json api | Community
Skip to main content

Cursor pagination not working in /api/v2/locales.json api

  • October 12, 2022
  • 1 reply
  • 0 views

Hi

Cursor pagination for /api/v2/locales.json api was working fine for us till 25th September. 
In last week, when we triggered our application, GET call to https://<subdomain>.zendesk.com/api/v2/locales.json?page[size]=100 api started failing with following error
{
  "error": {
    "title": "Invalid attribute",
    "message": "You passed an invalid value for the page attribute. Invalid parameter: page must be an integer from api/v2/locales/index"
  }
}

Is there any change recently introduced in /api/v2/locales.json api which is causing this issue?

Thanks in advance

1 reply

  • November 19, 2022

Hi @pravin12,

I found that casting the number to an integer fixes the issue for me.