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
Encountered 501-Timeout issue when filing Continuation In with file uploaded (one-shot) and Continuation Application with file uploaded (in multi-step)
How to reproduce:
Continuation In with file uploaded (one-shot) issue
Use the Sandbox API Demo Collection(2025-02) collection in the .gov Postman team workspace
Go to continuation in folder, and find the one-shot approach for continuation in
use the 2 steps in Upload File sub_folder / or skip it use the pre-set payload, since that file has already been uploaded to TEST minio
submit a Continuation-in using the pre-set payload, then you will wait for pretty long time, and then get the 501 error.
Continuation Application with file uploaded (in multi-step) issue
Use the Sandbox API Demo Collection(2025-02) collection in the .gov Postman team workspace
Go to continuation in folder, and find the multi-step approach for continuation in
use step 1, and 2, then you will wait for a pretty long time and get the 501 error.
Refer to the 2 comments below for potential reasons.
TODOs
in legal-api sandbox branch
update the logic to disable sending messages to NATs in submit_filing_for_review if it's in Sandbox environment, refer to the Filer in sandbox how to do this
Implement auto-approval flow for sandbox environment for continuation in
in the Postman collection
Test if requests in Postman collection work as expected, after the new changes deployed
Save response and remove FUTURE tag in related folders
changed the title [-]Continuation In issue - cannot use the PDF uploaded to TEST minio[/-][+]Continuation In issue - error when file continuation in application[/+]on Feb 6, 2025
Give it a 3 for the 501 error issue.
If we'd like to implement the approval feature in the Sandbox, it might grow up to a 5 or even bigger (may need another ticket).
Continuation-in authorization approval is a step before the user can proceed with the filing.
The issue has been addressed by skipping email notifications in the sandbox to avoid NATS connection errors.
Testing Result in Sandbox:
Verified can successfully submit Continuation In filing with file upload and get 201 Created status code, then can successfully retrieve filing details and confirmed filing status updated to AWAITING_REVIEW in one shot and multi-step approaches.
Activity
eason-pan-bc commentedon Feb 6, 2025
Preliminary analysis:
submit_filing_for_reviewPotential Fix
eason-pan-bc commentedon Feb 6, 2025
The Other Issue - Approve Continuation Application
We cannot approve Continuation Application, since we don't have the staff dashboard or no one sends API requests to approve it
Potential Fix
add a mechanism to automatically approve Continuation Application
[-]Continuation In issue - cannot use the PDF uploaded to TEST minio[/-][+]Continuation In issue - error when file continuation in application[/+][-]Continuation In issue - error when file continuation in application[/-][+]Continuation In 501 Error in Sandbox[/+][-]Continuation In 501 Error in Sandbox[/-][+]Sandbox - Continuation In 501 Error[/+]eason-pan-bc commentedon Feb 25, 2025
Give it a

3for the 501 error issue.If we'd like to implement the approval feature in the Sandbox, it might grow up to a
5or even bigger (may need another ticket).Continuation-in authorization approval is a step before the user can proceed with the filing.
To be checked if this step is needed in sandbox
vikas-gov commentedon Feb 28, 2025
@eason-pan-bc : confirmed, Continuation-in authorization approval step is required in sandbox api setup
[-]Sandbox - Continuation In 501 Error[/-][+]Sandbox - Continuation In - 501 Error + Approval Workflow[/+]AimeeGao commentedon Mar 13, 2025
501 Error Issue Fix:
The issue has been addressed by skipping email notifications in the sandbox to avoid NATS connection errors.
Testing Result in Sandbox:
Verified can successfully submit Continuation In filing with file upload and get
201Created status code, then can successfully retrieve filing details and confirmed filing status updated toAWAITING_REVIEWin one shot and multi-step approaches.