-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
APIUnderlying issue is with the ReadMe API and not necessarily the `rdme` client itselfUnderlying issue is with the ReadMe API and not necessarily the `rdme` client itselfbugSomething isn't workingSomething isn't workingcommand:pagesIssues pertaining to page upload commands (e.g., `docs`, `reference`, `changelog`, `custompages`)Issues pertaining to page upload commands (e.g., `docs`, `reference`, `changelog`, `custompages`)
Description
We are running the following command in our CI (multiple times a day):
npx -y [email protected] docs upload ./docs --key=${README_API_KEY} --branch=v1
The job fails in about 20% of the pipeline runs with the following error on one of the uploaded files:
Unexpected token '<', "<!DOCTYPE "... is not valid JSON
The files have not changed in the past days in between the CI runs and yet we see this error from time to time.
I assume that there is an HTTP error thrown from the readme API that is not properly handled by the rdme lib.
Is there a way to debug this like turning on verbose debug logs for the rdme lib?
Knowing the kind of error would probably hint towards a possible solution.
Happy to provide more details if needed!
SIGLOST
Metadata
Metadata
Assignees
Labels
APIUnderlying issue is with the ReadMe API and not necessarily the `rdme` client itselfUnderlying issue is with the ReadMe API and not necessarily the `rdme` client itselfbugSomething isn't workingSomething isn't workingcommand:pagesIssues pertaining to page upload commands (e.g., `docs`, `reference`, `changelog`, `custompages`)Issues pertaining to page upload commands (e.g., `docs`, `reference`, `changelog`, `custompages`)