OAI-PMH Support (UXPROD-993)

[UXPROD-2314] HTTP statuses association with OAI-PMH errors Created: 11/Mar/20  Updated: 16/Sep/21  Resolved: 16/Jun/20

Status: Closed
Project: UX Product
Components: None
Affects versions: None
Fix versions: Q2 2020
Parent: OAI-PMH Support

Type: New Feature Priority: P3
Reporter: Anastasiia Zakharova Assignee: Anastasiia Zakharova
Resolution: Done Votes: 0
Labels: external_sys_int, oaipmh
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Issue links:
Defines
is defined by MODOAIPMH-131 Move request validation and configura... Closed
is defined by MODOAIPMH-106 Associate OAI-PMH level errors with 2... Closed
Epic Link: OAI-PMH Support
Back End Estimate: Large < 10 days
Development Team: Gulfstream
Rank: Chicago (MVP Sum 2020): R2
Rank: Cornell (Full Sum 2021): R4
Rank: Duke (Full Sum 2021): R4
Rank: 5Colleges (Full Jul 2021): R4
Rank: GBV (MVP Sum 2020): R4
Rank: TAMU (MVP Jan 2021): R2

 Description   

In event of an error or exception condition, repositories must indicate OAI-PMH errors, distinguished from HTTP Status-Codes, by including one or more error elements in the response. While one error element is sufficient to indicate the presence of the error or exception condition, repositories should report all errors or exceptions that arise from processing the request. Each error element must have a code attribute that must be from the following table; each error element may also have a free text string value to provide information about the error that is useful to a human reader. These strings are not defined by the OAI-PMH.

Version 2 of the OAI-PMH recommends clear separation of OAI-PMH errors and HTTP statuses in a next way:

  • all OK at HTTP level? => 200 OK
  • something wrong at OAI-PMH level? => OAI-PMH error (e.g. badVerb)
  • HTTP codes 302, 503, etc. still available to implementers, but no longer represent OAI-PMH events

Generated at Fri Feb 09 00:22:55 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.