Appearance
Errors and refusals (Flude SaaS)
Audience: someone whose Flude SaaS job was refused or failed. The message you saw ends with a link to a section of this page; the section is named after the code of the message.
Two kinds of answers exist:
- A refusal comes back as soon as you start a job (HTTP 400, 401, 403, 429, 502 or 503), before any documentation is built.
- A failed job is a job that started and then ended with a status such as
failed,failed_timeoutorrejected_too_large.
The limits quoted below are the limits of the free plan today and can change; the message you got names the current value.
If a message does not help, or a job fails again after a retry, write to [email protected] and include the job ID that the action prints.
Refusals about your API key
missing_api_key
The request carried no API key. The Flude action sends it from its api-token input, so check that the workflow passes the secret (FLUDE_API_TOKEN) to that input and that the secret exists in the repository. If you call the API yourself, send the key as Authorization: Bearer <key>.
invalid_api_key
The key was not recognized. The usual causes are a key that was copied only in part or with extra characters, or a key that belongs to another environment. Create a new key at app.flude.guide and update the FLUDE_API_TOKEN secret.
api_key_revoked
The key was revoked, by you or by a replacement. Create a new key at app.flude.guide and update the FLUDE_API_TOKEN secret.
api_key_expired
The key has expired. Create a new key at app.flude.guide and update the FLUDE_API_TOKEN secret.
auth_unavailable
The service could not check your key because its sign-in provider did not answer (HTTP 502). Nothing is wrong with your key; try again in a few minutes.
Refusals when you start a job
invalid_strict
The strict input must be true or false. Fix the value in the workflow.
invalid_commit_sha
commit_sha must be a commit hash of 7 to 40 hexadecimal characters. The action sets it for you from the workflow run; this appears only when the value was set by hand.
invalid_format
The only output format available at the moment is hugo_markdown. Remove the format input, or set it to hugo_markdown.
parser_backend_not_allowed
The Doxygen parser backend is not open to every account. Remove the parser-backend input to use the default backend.
rejected_organization
The API key belongs to an organization, and the free plan supports personal accounts only. Create the key in a personal account and update the FLUDE_API_TOKEN secret.
rejected_private
The repository is private or does not exist. The free plan supports public repositories only. Check the address, or make the repository public.
rejected_repo_organization
The repository belongs to an organization, and the free plan supports repositories owned by a personal account only.
rejected_too_large
Two limits end in this code:
- the repository itself is larger than 200 MB (checked before anything is downloaded);
- the files selected for documentation are larger than 5 MB (checked after the download, the message gives your size).
For the second case narrow include_patterns or exclude_patterns in .flude.yml to the files you want documented. For the first, document a smaller repository.
repository_check_failed
The service could not check the repository with its hosting platform: the platform did not answer or limited the request. Nothing is wrong with your repository; try again in a few minutes.
rate_limit_exceeded
Your account has reached its daily limit of jobs. Try again after 00:00 UTC.
rejected_service_unavailable
The service is temporarily not accepting new jobs. Try again later.
rejected_daily_capacity
The service has reached its limit of jobs for today. Try again after 00:00 UTC.
rejected_new_accounts_capacity
New accounts cannot run jobs right now. Try again after 00:00 UTC.
Failed jobs
failed_timeout
The job did not finish in time and was stopped. The message says which step it was:
- Getting the repository took too long: the repository is probably too large to be documented. Try again once; if it repeats, document a smaller repository.
- The documentation build did not finish in time: narrow
include_patternsto fewer files or directories and run the job again. - The job did not finish in time or could not be started in time: the service was busy. Run the job again.
failed_dangerous_directive
A comment in the file named in the message uses a Doxygen directive that reads a file outside the repository (for example \include or \verbinclude with a path that leaves the repository). Remove or change that directive. The service does not build documentation from such a comment.
failed_symlink_escape
The repository contains a symbolic link that points outside it. Remove the link or replace it with the real file.
failed_invalid_commit
The commit named in the message was not found in the repository. Check that the commit is pushed to the public repository.
failed_strict_warnings
You turned on strict, and the build produced warnings. The message lists them. Fix them, or run without strict.
repository_unavailable
Git could not get the repository: it may have been deleted or made private, or the hosting platform did not answer. Check that the repository is public and try again.
repository_url_invalid
The repository address must be an https address of a repository on github.com, gitlab.com or bitbucket.org, in the form https://host/owner/repository.
settings_invalid
A value in .flude.yml or in the inputs of the action is not accepted. The message names the file and the key. Fix it and run the job again.
no_matching_files
No file in the repository matches the selection, so there was nothing to document. The message lists the directories (include_dirs) and the patterns (include_patterns) that were used, and the exclusions (exclude_dirs, exclude_patterns) when you set any: a pattern such as * in exclude_patterns can leave nothing to read. For a C++ repository the defaults are **/*.h, **/*.hpp, **/*.hh and **/*.hxx in the whole repository. If your headers have another extension, or lie in a directory that your settings leave out, set include_dirs and include_patterns in .flude.yml (see .flude.yml) and run the job again.
build_failed
The documentation build failed, most likely because of an error of the service and not of your repository. Run the job again. If it fails again, report the job ID printed by the action.
result_not_delivered
The service built the documentation but could not package or deliver it. Run the job again. If it fails again, report the job ID printed by the action.
internal_error
The service could not process the job. Run it again. If it fails again, report the job ID printed by the action.
