bhupen
10 years agoAdvisor
Error on notification when increasing 1000+
Hi
Iam facing some issue in restapi. When user have more then 1000 notification then its showing error. If notification are less then 999 then its working fine.
<#assign notificationCounter = 1 />
<#assign pageSize = 50 />
<#assign page = notificationsPage * pageSize />
<#assign noti= restadmin( '/users/id/' + user.id + '/notifications?restapi.response_style=view&page_size=' + page ).notifications />
Following is the error which is coming on used rest api.
/notification?restapi.response_style=view&page_size=1100&restapi.response_style=view"
Page_size:this must be less then or equal to 1,000.
Can someone suggest me on this..
Thanks
got solution: