NFDI4Energy / NFDI4Energy/SMECS

Appropriate error when token is expired

Open
#240 1 comment 0 reactions 1 assignee View on GitHub

@Sundraiz-Shah is already working on this.

Since Apr 15, 2026.

  • #290 by @Sundraiz-Shah — open
back end short-term
Dominant language
Python
Stars
13
Forks
1
Avg merge
22h 24m
Merged PRs (30d)
1

Description

Description:
Currently, when the token expires, the application does not provide a clear error message. Instead, it fails with "Harvested files:
.hermes directory contains no files — nothing harvested.", making it difficult to understand the root cause.

Expected behavior:
When a token is expired, the system should return an explicit error.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.