馃悰 Bug: API V2 "Offset is beyond the total number of records" error status code returned is 200 instead of 400 #7367
Labels
Status: Reproducible
Able to reproduce the issue based on the reporters' guideline.
Please confirm if bug report does NOT exists already ?
Steps to reproduce ?
Set API Call offset > the total number of records.
API response body contains:
{"message":"Offset is beyond the total number of records"}
Status returned is 200 (Success) instead of 400 (Bad request).
Desired Behavior
Status returned on "Offset is beyond the total number of records" should be 400 (Bad request).
Project Details
Node: v18.18.2
Arch: x64
Platform: linux
Docker: true
RootDB: pg
PackageVersion: 0.203.2
Database version : 16.1
Attachments
No response
The text was updated successfully, but these errors were encountered: