Troubleshooting
Troubleshoot citation management — Reporting Studio
Diagnose wrong scholarly sources, duplicate references, missing citations, bibliography errors, and citation changes across saved report revisions or exports.
Application: Reporting Studio
Related services: Citation Studio / Library / Research / Workspace / Research Hub / Platform Core
Classification: Troubleshooting / Citation Management
Audience: Researchers, report authors, scientific editors, reference librarians, and platform developers
Technical level: Intermediate to advanced
Estimated reading time: 17–21 minutes, excluding independent source checks and technical testing
Primary acceptance: Every material in-text reference resolves to the intended canonical source and source version; bibliographic metadata is accurate; citation rendering is internally consistent; and cited evidence supports the attached claim.
Deployment status: Production behavior and cross-service integration not independently verified.
1. Purpose and diagnostic scope
Citation management is a combination of scholarly source identification, claim attribution, reference formatting, document revision control, and source governance. An apparently small bibliography defect can reflect a larger problem: an incorrect DOI match, an outdated source revision, an unauthorized reference, or a citation attached to a claim the source does not support.
Diagnose separately: identity (which scholarly object), metadata (whether descriptive fields are accurate), relationship (which statement is supported), rendering (how the citation appears), and authority (whether the record may be accessed, reused, and published).
2. Typical symptoms
- In-text citation displays “missing reference,” an unresolved key, or an incorrect author-year label.
- A known DOI resolves to an unexpected edition, preprint, correction notice, or article.
- The bibliography omits cited works or includes sources no longer cited.
- Two different sources collapse into one record, or one source appears twice.
- Harvard citations show inconsistent punctuation, disambiguating letters, capitalization, or author lists.
- A source appears in Library but cannot be inserted in a report.
- A saved citation disappears after page reload or a concurrent edit.
- HTML, DOCX, and PDF exports render different references or use a stale document revision.
- Reference metadata changes without retaining the original verified source identity.
- A retracted or corrected source appears without a relevant status notice.
- A reference is syntactically correct but does not substantiate its adjacent claim.
- A private source title, note, or attachment is exposed publicly.
- A timed-out save creates duplicate citation links after retry.
3. Triage by severity
| Priority | Symptom | Immediate response |
|---|---|---|
| Critical | Private or legally restricted source content exposed in public output | Contain public disclosure; involve authorized security, privacy, and rights owners |
| High | Wrong scientific source cited, unsupported pivotal claim, or retracted finding relied on uncritically | Hold affected publication; initiate scientific review |
| High | Citation links or accepted revision history overwritten | Stop unsafe writes and preserve recoverable evidence |
| Moderate | Missing bibliography item, metadata mismatch, stale export | Reconcile authoritative records and document snapshots |
| Lower | Style-specific punctuation or capitalization defect without misidentification | Correct the style or metadata through normal editorial review |
These priorities are illustrative, not a verified Sustainable Catalyst incident policy.
4. Diagnose in order
- Identify the organization, Workspace project, report ID, revision, and authenticated actor.
- Capture the exact citation occurrence, surrounding claim, source identifier, and expected output.
- Check whether the cited scholarly object exists in the authoritative source registry.
- Verify source identity and bibliographic fields against authoritative publisher, DOI-registration, or dataset records.
- Check access permission, rights, and allowed public metadata.
- Inspect claim-to-source association and any version-specific locator (page, section, figure, table).
- Separate style rendering defects from source and citation-link defects.
- Compare current report revision with bibliography and exported artifact revisions.
- Inspect citation processor, import, synchronization, and persistence failures using nonsecret logs.
- Preserve accepted state; apply a minimal authorized fix; repeat positive, negative, and export checks.
5. Verify citation and report identity
Record the exact report revision, citation occurrence identifier, canonical source ID, source version, citation location, and bibliography snapshot if supported. Prefer persistent identifiers to display titles. A source title alone can be shared by multiple editions or corrected publications; an in-text author-year label can refer to several distinct works.
Do not confuse an occurrence within one document with the canonical Library source record. A report can cite the same source many times, with different page locators or contextual purposes, without creating duplicate scholarly records.
6. Diagnose DOI and persistent-identifier resolution
Verify the DOI or other persistent identifier as an identifier, not merely a web URL. Normalize safe presentation differences, but preserve the canonical identity. Validate that a resolved object matches the intended title, creator list, work type, and publication year; examine differences between preprint, accepted manuscript, version of record, correction, dataset, or software record.
| Observation | Possible cause | Check |
|---|---|---|
| Identifier unresolved | Typo, absent registration, provider outage | Check syntax, authoritative registry, and provider status |
| Unexpected title | Wrong object, changed metadata, alias or mismatch | Compare registered creator/title/type fields |
| Preprint cited as final article | Version conflation | Inspect work relationships and publication stage |
| Dataset cited as article | Incorrect record type | Verify identifier agency and source type |
| Multiple candidate matches | Ambiguous title-based import | Require explicit researcher verification |
Do not silently select the first search result when canonical identity is ambiguous. External provider results must be treated as untrusted metadata until verified.
7. Diagnose inaccurate bibliographic metadata
Check authorship and contributor order, year, title, journal or publisher, work type, volume, issue, page range, DOI, dataset version, and publication status. Distinguish missing metadata from demonstrably incorrect metadata. Where sources disagree, document which authoritative record is being used and why.
Author names with particles, organizational authors, accented characters, and single-name creators require careful handling; naive splitting on spaces or commas can corrupt citations. Corrections should update an explicitly versioned or audited source record, not invisibly rewrite a previously approved document snapshot.
8. Diagnose duplicates and incorrect merges
Different records may refer to the same work because of URL formatting, DOI letter case, imported metadata variants, or alternate source systems. Conversely, an article, preprint, dataset, translation, and correction notice are not necessarily interchangeable.
- Group potential duplicates by trustworthy identifiers.
- Compare work type, creators, dates, versions, publisher, and update relationships.
- Resolve ambiguities through authorized human review.
- Choose a canonical record only when scholarly identity is established.
- Preserve existing citation occurrence targets or provide a controlled remapping with an audit trail.
- Verify that no distinct source was merged and no citation now points to the wrong version.
9. Diagnose claim-to-source mismatches
Bibliographic validity is not scientific validity. A DOI can be valid and a Harvard citation perfectly formatted while the cited paper does not support the report’s claim.
For an affected sentence, examine the full relevant source passage and its methods, results, qualifiers, geographic scope, and date. Determine whether the report states an observation, a model prediction, a causal interpretation, or a recommendation. Check whether the cited passage supports that same kind of inference.
| Outcome | Meaning | Action |
|---|---|---|
| Supported | Evidence directly supports the claim at the stated scope | Keep link with traceable locator |
| Partially supported | Evidence supports a narrower or qualified statement | Revise claim or add qualifications |
| Contradicted | Source provides contrary evidence | Correct the claim and reassess conclusions |
| Unverified | Source content or relevant passage unavailable for review | Do not mark as scientifically verified |
| Irrelevant | Source does not address the asserted relationship | Replace with appropriate evidence or remove claim |
Document reviewer judgment separately from machine-readable link existence. A validator can confirm that a relationship points to a real source; it cannot automatically establish scientific support.
10. Diagnose page locators, quotations, and paraphrases
Check that quoted passages match the source and that page, figure, table, section, or other locators address the actual cited version. Page numbers can change between PDF, HTML, preprint, and journal editions. Avoid fabricating page numbers for sources with no stable pagination.
Where an exact quotation is used, compare it against the authorized original. For paraphrases, verify fidelity of meaning and qualification, not merely lexical similarity.
11. Diagnose Harvard style output
“Harvard” describes a family of author-date styles rather than one universally identical format. Identify the institution’s required variant and the actual Citation Style Language (CSL) style and locale, if a CSL processor is used.
Investigate punctuation, name order, et al. rules, organizational authors, missing years, titles, edition labels, in-text locators, and year suffixes such as 2024a/2024b. These suffixes depend on the complete cited collection and the citation style, not merely on one source entry.
If bibliography text looks wrong, first determine whether the input metadata is wrong or the formatting engine rendered correct metadata incorrectly. Fixing a canonical author field to compensate for a style defect can damage every downstream citation.
12. Diagnose missing and orphaned bibliography entries
Reconcile three sets: citation occurrences in the exact report revision; canonical sources those occurrences reference; and bibliography entries generated from the same snapshot.
Check for unresolved keys, deleted or restricted source records, stale bibliography caches, incorrectly scoped sections, and style settings governing inclusion. A report-specific bibliography should not silently include every source in the project’s Library unless that is the documented report contract.
Uncited readings may belong in a separately labeled reading list or bibliography only if required by the governing citation policy.
13. Diagnose retractions, corrections, and source updates
Authoritative scholarly metadata can change after a source is imported. Check for corrected article versions, retraction notices, expressions of concern, and other status updates. When a cited source is materially updated, assess whether the report’s claim remains defensible.
Crossref documents significant updates and persistent scholarly-version relationships; this does not establish that Sustainable Catalyst currently implements Crossmark alerts or automated notices. Do not infer that a lack of a local warning proves a source has no integrity issues.
Keep the original citation snapshot and record the approved update; do not silently swap an accepted source version under a published claim.
14. Diagnose Library and Citation Studio integration
Where implemented, the intended separation is: Library owns canonical source records and permitted source attachments; Citation Studio owns citation-processing and bibliographic functionality; Reporting Studio owns the report document and citation occurrences; Workspace governs review and approval; Platform Core enforces identity and access; Research maintains governed research relationships.
For an integration failure, confirm the actual contract and owning service before changing configuration. Determine whether the source was never imported, imported but not visible due to access restrictions, imported with a mismatched schema, or correctly imported but not linked to the report.
Do not present proposed service boundaries as verified deployment architecture.
15. Diagnose authorization and private-record exposure
Check permission for source discovery, source detail retrieval, citation insertion, document editing, bibliography generation, and public export separately. Being able to read a private source does not automatically authorize publication of its full text, annotations, confidential title, or metadata.
Public outputs must exclude restricted fields before serialization, including embedded metadata, tooltips, previews, and downloadable manifests. Access enforcement belongs on the trusted server side, not only in browser display logic.
If private data is exposed, prioritize containment and authorized incident response over routine formatting fixes.
16. Diagnose stale revisions and concurrent edits
A citation inserted into manuscript revision v3 may be absent from an export built from revision v2. Alternatively, a concurrent collaborator may overwrite the citation link if write conflicts are not detected.
Compare document revision, source revision, link revision, bibliography snapshot, export job reference, and render timestamp. Prefer atomic, version-checked updates when supported. A materially changed manuscript must not inherit earlier scientific or publication approval merely because the report ID is unchanged.
17. Diagnose HTML, DOCX, and PDF export differences
| Format | Check |
|---|---|
| HTML | In-text labels, source links, bibliography semantics, escaping, accessibility, and public-field filtering |
| DOCX | Author-year labels, italics, hanging indents, locators, field behavior, and reference order |
| Rendered text, Unicode, line breaks, bibliography pagination, link destinations, and text extraction |
Export from the same immutable or explicitly controlled document snapshot. Compare rendered citations and bibliography with the approved source-to-claim manifest, not merely file existence or HTTP success.
18. Distinguish provider errors from internal defects
Metadata providers may return rate limits, timeouts, partial records, or inconsistent fields. Record the provider, requested scholarly identifier, request correlation ID, schema version, bounded retry policy, and any incomplete response classification without logging credentials or restricted source text.
Never let a remote metadata response supply trusted internal authorization or publication state. Where a provider URL must be fetched by the backend, restrict destinations and redirects, protect internal networks, bound response size and time, and apply the platform’s server-side request-forgery controls.
19. Safe retry and idempotency procedure
An unknown save outcome is not a failed save. Before retrying any import, merge, link, unlink, or bibliography-snapshot operation, retrieve the authoritative current state and check for an already committed command.
- Identify the original request or idempotency key, if supported.
- Read the current report and citation-link revisions.
- Determine whether the requested association already exists.
- Compare exact source identity, locator, and intended claim target.
- Retry only through a documented operation with expected-version and replay protections.
- Verify no duplicated links, source records, or bibliography entries were created.
20. Synthetic diagnostic example
The following Python 3 code is a minimal educational fixture that checks existence, exact source identity, and allowed public visibility for synthetic citations. It does not implement trusted authorization, scholarly metadata verification, citation style rendering, or claim-level scientific review.
from dataclasses import dataclass
@dataclass(frozen=True)
class Source:
source_id: str
doi: str
visibility: str
@dataclass(frozen=True)
class Citation:
claim_id: str
source_id: str
expected_doi: str
def check_public_links(sources, citations):
by_id = {s.source_id: s for s in sources}
findings = []
for citation in citations:
source = by_id.get(citation.source_id)
if source is None:
findings.append((citation.claim_id, "MISSING_SOURCE"))
elif source.visibility != "public":
findings.append((citation.claim_id, "RESTRICTED_SOURCE"))
elif source.doi.casefold() != citation.expected_doi.casefold():
findings.append((citation.claim_id, "SOURCE_IDENTITY_MISMATCH"))
else:
findings.append((citation.claim_id, "STRUCTURAL_PASS"))
return findings
if __name__ == "__main__":
sources = [
Source("s1", "10.1234/example-a", "public"),
Source("s2", "10.1234/example-b", "private"),
]
citations = [
Citation("c1", "s1", "10.1234/example-a"),
Citation("c2", "s2", "10.1234/example-b"),
Citation("c3", "missing", "10.1234/example-c"),
]
expected = [
("c1", "STRUCTURAL_PASS"),
("c2", "RESTRICTED_SOURCE"),
("c3", "MISSING_SOURCE"),
]
assert check_public_links(sources, citations) == expected
print("Synthetic structural assertions passed")
Run with python3 citation_diagnostic.py after saving the example. The DOI-shaped strings above are fictitious fixture values; they must not be presented as registered scholarly works. Passing this assertion does not verify the cited source content, DOI registration, or public release permissions.
21. Negative-test matrix
| Scenario | Expected outcome |
|---|---|
| Missing source | Explicit unresolved-reference state; no fabricated entry |
| Wrong canonical identifier | Identity mismatch detected |
| Duplicate import | Stable identity without unintended duplicate |
| Different edition with similar title | Distinct work preserved or reviewed before merging |
| Stale report revision | Conflict detected; accepted text not overwritten |
| Wrong tenant | Protected source inaccessible |
| Revoked access | Subsequent operations denied |
| Private metadata in public export | Disclosure blocked and incident surfaced |
| Unsupported metadata schema | Typed validation failure |
| Source retraction | Relevant update surfaced for scientific assessment |
| Provider timeout | Bounded failure, no invented metadata |
| Unsafe metadata URL or redirect | Disallowed backend request rejected |
| Duplicate save replay | No duplicate citation occurrence |
| Bibliography style change | Correct re-render from unchanged scholarly identity |
| DOCX/PDF export | Same approved citation set and scholarly meaning |
| Restore | Authorized citations and privacy restrictions reconstruct |
These tests are proposed. No production results are claimed here.
22. Recover safely
- Stop unsafe mutation: Hold affected publication or citation writes if source identity, visibility, or current revision is uncertain.
- Preserve evidence: Retain permitted document snapshots, citation links, source versions, exports, and nonsecret diagnostics.
- Identify authority: Locate the canonical scholarly source and the owning service of each record.
- Resolve the smallest defect: Correct source metadata, occurrence linkage, style configuration, or export snapshot independently as appropriate.
- Use controlled revisioning: Re-run scientific review where a correction changes claim meaning or supporting evidence.
- Regenerate derived outputs: Refresh bibliography and exports from the approved revision and source snapshot.
- Verify access: Recheck tenant and public-disclosure boundaries before release.
- Repeat persistence checks: Reload or use a new authorized session; reconcile current state with the accepted artifact.
- Document outcome: Record actions, executed tests, reviewer judgments, and remaining limitations.
Do not directly rewrite accepted historical citations or reintroduce legally restricted records through backup restoration.
23. Acceptance matrix
| Criterion | Pass condition |
|---|---|
| Source resolution | Every required reference maps to the intended scholarly object |
| Metadata accuracy | Core canonical fields verified or limitations declared |
| Claim-level support | Substantive citation claims independently evaluated |
| Version integrity | Report and cited-source versions identified |
| Bibliography | Complete and consistent with cited occurrences under selected style |
| Harvard formatting | Required institutional variant applied correctly |
| Corrections and retractions | Material source updates reviewed and qualified as needed |
| Rights and authorization | Protected sources and fields remain restricted |
| HTML/DOCX/PDF | Available exports preserve the approved citation set |
| Idempotency and persistence | No unintended duplicates, loss, or concurrent overwrite |
| Recovery | Permitted histories and restriction controls reconstruct |
| Runtime evidence | Actual implementation and staging checks documented |
Record Pass, Fail, Not Tested, or Not Applicable for each criterion. A missing scientific verification, mandatory privacy test, or publication approval prevents final acceptance of the affected output.
24. Example incident acceptance receipt
{
"schema_version": "citation-incident-example-v1",
"classification": "proposed",
"application": "reporting_studio",
"incident": {
"case_id": "citation-incident-017",
"symptom": "bibliography_entry_unresolved",
"root_cause_confirmed": false
},
"report": {
"report_id": "synthetic-report-017",
"revision": "v3",
"publication_state": "draft"
},
"checks": {
"source_identity": "not_tested",
"metadata_accuracy": "not_tested",
"claim_support": "not_tested",
"locator_accuracy": "not_tested",
"harvard_style": "not_tested",
"bibliography_reconciliation": "not_tested",
"source_update_status": "not_tested",
"rights_and_authorization": "not_tested",
"cross_tenant_denial": "not_tested",
"private_export_redaction": "not_tested",
"version_consistency": "not_tested",
"idempotency": "not_tested",
"html_export": "not_tested",
"docx_export": "not_tested",
"pdf_export": "not_tested",
"backup_restore": "not_tested",
"production_runtime": "not_tested"
},
"scientific_acceptance": false,
"publication_approved": false,
"release_decision": "NO_GO"
}
This receipt is illustrative, not an established Reporting Studio contract. Use real repository and deployment references only after verification.
25. Implementation verification and escalation
To verify the article against production, collect the actual source repository and commit, editor and citation schemas, canonical-source ownership, current metadata providers, citation processor and style version, authorization enforcement, rendering behavior, integration tests, CI receipts, staging evidence, migrations, backups, and rollback procedure.
Escalate to the appropriate scientific editor when a source cannot support the claim; to the Library or citation owner for identity and metadata conflicts; to Reporting Studio for document and export defects; to Workspace and Platform Core owners for permission or revision defects; and to security/privacy authorities for public leakage. Avoid credentials, private manuscript content, or confidential reviewer notes in public issue reports.
26. Technical and scholarly references
- Crossref. Version control, corrections, and retractions. Crossref guidance.
- Crossref. Updating your metadata. Crossref metadata maintenance.
- Crossref. Registering updates. Crossref publication updates.
- Citation Style Language. CSL specifications and styles. https://citationstyles.org/.
- DataCite. Metadata Schema documentation. https://schema.datacite.org/.
- W3C. PROV-O: The PROV Ontology. https://www.w3.org/TR/prov-o/.
- OWASP. Authorization Cheat Sheet. OWASP guidance.
- IETF. RFC 9457: Problem Details for HTTP APIs. RFC 9457.
27. Completion and verification record
Completion criterion: A citation-management incident is resolved when source identity, citation occurrence, report and source revisions, bibliography, and available exports are reconciled; substantive claims have been checked against the cited evidence; required permissions and public-disclosure protections hold; and applicable persistence and recovery tests have passed.
Scientific limitation: Canonical identifiers, accurate metadata, stable provenance, and correct Harvard formatting establish traceability but do not prove a scientific claim. The cited evidence must be read and evaluated within its actual methodological and inferential scope.
Current implementation status: A detailed diagnostic workflow, structural synthetic example, negative-test matrix, acceptance receipt, and release-verification requirements are documented. No named Reporting Studio or Citation Studio API, live integration, public export, or production security control is certified by this article.
