[SOLVED] REST API won't work if the schema has more than 100 records

I have…

  • [ x ] Checked the logs and have uploaded a log file and provided a link because I found something suspicious there. Please do not post the log file in the topic because very often something important is missing.

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ x ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Hi, I’m using Postman to get data from Squidex’s REST API. I just noticed that my request will get failed if my schema contains over 100 records. Please take a look at my screenshot below:

This university-reviews schema contains 109 records and it doesn’t work. I have some other schemas (over 100 records) that don’t work either.

Another schema, it’s websites. It has 40 records, and it works perfectly.

Expected behavior

Should return data without Error: Parse Error: Header overflow

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ x ] Self hosted with other version
  • [ ] Cloud version

Version: [VERSION]

Browser:

  • [ x ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

1 Like

Thank you, I will have a look.

2 Likes

It is a postman issue btw: https://github.com/postmanlabs/postman-app-support/issues/8656

But you can use this header: X-SurrogateKeys=0

2 Likes

Thank you! It works perfectly now.

2 Likes