Bug #13143

REST API returns 200 status code in error responses

Added by José Raddaoui Marín 3 months ago. Updated 3 months ago.

Status:VerifiedStart date:08/12/2019
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:Web service API
Target version:Release 2.5.2
Google Code Legacy ID: Tested version:2.5
Sponsored:No Requires documentation:

Description

Found in the AM dashboard logs when performing a metadata only DIP upload ...

ERROR     2019-08-08 17:11:26  agentarchives.atom.client:client:_request:62:  Response code: 200
ERROR     2019-08-08 17:11:26  agentarchives.atom.client:client:_request:63:  Response body: {"id":"internal-error","message":"Internal error"}

History

#1 Updated by José Raddaoui Marín 3 months ago

  • Status changed from In progress to Code Review

#2 Updated by Mike Cantelon 3 months ago

  • Status changed from Code Review to Feedback

Looks good to me!

#3 Updated by José Raddaoui Marín 3 months ago

  • Status changed from Feedback to QA/Review
  • Assignee changed from José Raddaoui Marín to Dan Gillean

Thanks Mike!

Ready for testing in qa/2.6.x and dev/dip-upload-stable (based on stable/2.5.x with all the DIP upload related fixes).

#4 Updated by José Raddaoui Marín 3 months ago

This will be hard to test after fixing the error that was causing the problem in #13144. I'm pretty sure it's fixed, but let me know if you want me to find a way to reproduce the issue.

#5 Updated by Sara Allain 3 months ago

Metadata-only DIP upload seems to be working just fine, so I don't know that it's worth going to extra effort to reproduce this error result.

#6 Updated by Dan Gillean 3 months ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF