You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
Within a single InterfaceDocumentsSource Block, when the number of data (including waiting-approval, approved, rejected) is more than 200 or the number of waiting-approval data is more than 100, the GET method of API /policies/${guardianPolicyId}/tag/${tag}/blocks returns the response with empty data (which should be the data inside the InterfaceDocumentsSource Block), and the data is also invisible from the Guardian UI.
Have tried ways like re-start, waiting for all the Guardian actions to finish, submitting data in batches, etc. This issue constantly happens when the data number exceeds the above upper bound.
It impacts the subsequent approval of those data because to approve them we first need to GET them.
Step to reproduce
Steps to reproduce the behavior:
Run Guardian
Submit data with higher pieces of number than 100 or 200
Call GET API to get data from the InterfaceDocumentsSource Block
See error (just empty data field in the response)
Expected behavior
The GET API should always return all the data in the InterfaceDocumentsSource Block.
Thank you for any thoughts.
The text was updated successfully, but these errors were encountered:
JoeyZhaojin
changed the title
Guardian policy GET API doesn't work when the remaining pieces of data is more than 200 or when the waiting-approval data is more than 100
Guardian policy GET API return empty data when the remaining pieces of data is more than 200 or when the waiting-approval data is more than 100
Dec 11, 2023
JoeyZhaojin
changed the title
Guardian policy GET API return empty data when the remaining pieces of data is more than 200 or when the waiting-approval data is more than 100
Guardian policy GET API returns empty data when the remaining pieces of data is more than 200 or when the waiting-approval data is more than 100
Dec 11, 2023
Hi Guardian Team,
Problem description
A clear and concise description of what the bug is.
Within a single InterfaceDocumentsSource Block, when the number of data (including waiting-approval, approved, rejected) is more than 200 or the number of waiting-approval data is more than 100, the GET method of API
/policies/${guardianPolicyId}/tag/${tag}/blocks
returns the response with emptydata
(which should be the data inside the InterfaceDocumentsSource Block), and the data is also invisible from the Guardian UI.Have tried ways like re-start, waiting for all the Guardian actions to finish, submitting data in batches, etc. This issue constantly happens when the data number exceeds the above upper bound.
It impacts the subsequent approval of those data because to approve them we first need to GET them.
Step to reproduce
Steps to reproduce the behavior:
data
field in the response)Expected behavior
The GET API should always return all the data in the InterfaceDocumentsSource Block.
Thank you for any thoughts.
The text was updated successfully, but these errors were encountered: