Everything seems to be running fine. Can log in, REST API appears to be working fine, but th yarn test gives me an error message as it is being chunked up into pieces. Read all troubleshooting but ive checked all my configs and everything seems to be fine.
yarn test:rest
yarn run v1.22.18
$ ts-node --project ./tsconfig.ts-node.json scripts/test-rest.ts
Building production app config
Overriding app config with /home/dspace/dspace-front-source/config/config.prod.yml
...Testing connection to REST API at
https://repositorio.emgs.mx/server/api...
RESPONSE: 200
ERROR: INVALID DSPACE REST API! Response is not valid JSON!
Response returned:
{"dspaceUI":"
https://repositorio.emgs.mx","dspaceName":"Repositorio Sanidad Militar","dspaceServer":"
https://repositorio.emgs.mx/server","dspaceVersion":"DSpace 7.2.1","type":"root","_links":{"authn":{"href":"
https://repositorio.emgs.mx/server/api/authn"},"authorizations":{"href":"
https://repositorio.emgs.mx/server/api/authz/authorizations"},"bitstreamformats":{"href":"
https://repositorio.emgs.mx/server/api/core/bitstreamformats"},"bitstreams":{"href":"
https://repositorio.emgs.mx/server/api/core/bitstreams"},"browses":{"href":"
https://repositorio.emgs.mx/server/api/discover/browses"},"bundles":{"href":"
https://repositorio.emgs.mx/server/api/core/bundles"},"claimedtasks":{"href":"
https://repositorio.emgs.mx/server/api/workflow/claimedtasks"},"claimedtasks-search":{"href":"
https://repositorio.emgs.mx/server/api/workflow/claimedtasks/search"},"collections":{"href":"
https://repositorio.emgs.mx/server/api/core/collections"},"communities":{"href":"
https://repositorio.emgs.mx/server/api/core/communities"},"discover":{"href":"
https://repositorio.emgs.mx/server/api/discover"},"dso":{"href":"
https://repositorio.emgs.mx/server/api/dso/find{?uuid}","templated":true},"entitytypes":{"href":"
https://repositorio.emgs.mx/server/api/core/entitytypes"},"eperson-registration":{"href":"
https://repositorio.emgs.mx/server/api/eperson/registrations"},"epersons":{"href":"
https://repositorio.emgs.mx/server/api/eperson/epersons"},"externalsources":{"href":"
https://repositorio.emgs.mx/server/api/integration/externalsources"},"features":{"href":"
https://repositorio.emgs.mx/server/api/authz/features"},"feedbacks":{"href":"
https://repositorio.emgs.mx/server/api/tools/feedbacks"},"groups":{"href":"
https://repositorio.emgs.mx/server/api/eperson/groups"},"itemrequests":{"href":"
https://repositorio.emgs.mx/server/api/tools/itemrequests"},"items":{"href":"
https://repositorio.emgs.mx/server/api/core/items"},"itemtemplates":{"href":"
https://repositorio.emgs.mx/server/api/core/itemtemplates"},"metadatafields":{"href":"
https://repositorio.emgs.mx/server/api/core/metadatafields"},"metadataschemas":{"href":"
https://repositorio.emgs.mx/server/api/core/metadataschemas"},"oidc":{"href":"
https://repositorio.emgs.mx/server/api/authn"},"pid":{"href":"
https://repositorio.emgs.mx/server/api/pid/find{?id}","templated":true},"pooltasks":{"href":"
https://repositorio.emgs.mx/server/api/workflow/pooltasks"},"pooltasks-search":{"href":"
https://repositorio.emgs.mx/server/api/workflow/pooltasks/search"},"processes":{"href":"
https://repositorio.emgs.mx/server/api/system/processes"},"properties":{"href":"
https://repositorio.emgs.mx/server/api/config/properties"},"registrations":{"href":"
https://repositorio.emgs.mx/server/api/eperson/registrations"},"relationships":{"href":"
https://repositorio.emgs.mx/server/api/core/relationships"},"relationshiptypes":{"href":"
https://repositorio.emgs.mx/server/api/core/relationshiptypes"},"resourcepolicies":{"href":"
https://repositorio.emgs.mx/server/api/authz/resourcepolicies"},"resourcepolicies-search":{"href":"
https://repositorio.emgs.mx/server/api/authz/resourcepolicies/search"},"scripts":{"href":"
https://repositorio.emgs.mx/server/api/system/scripts"},"self":{"href":"
https://repositorio.emgs.mx/server/api"},"sites":{"href":"
https://repositorio.emgs.mx/server/api/core/sites"},"statistics":{"href":"
https://repositorio.emgs.mx/server/api/statistics"},"submissionaccessoptions":{"href":"
https://repositorERROR: INVALID DSPACE REST API! Response is not valid JSON!
Response returned:
io.emgs.mx/server/api/config/submissionaccessoptions"},"submissioncclicenseUrls":{"href":"
https://repositorio.emgs.mx/server/api/config/submissioncclicenseUrls"},"submissioncclicenseUrls-search":{"href":"
https://repositorio.emgs.mx/server/api/config/submissioncclicenseUrls/search"},"submissioncclicenses":{"href":"
https://repositorio.emgs.mx/server/api/config/submissioncclicenses"},"submissiondefinitions":{"href":"
https://repositorio.emgs.mx/server/api/config/submissiondefinitions"},"submissionforms":{"href":"
https://repositorio.emgs.mx/server/api/config/submissionforms"},"submissionsections":{"href":"
https://repositorio.emgs.mx/server/api/config/submissionsections"},"submissionuploads":{"href":"
https://repositorio.emgs.mx/server/api/config/submissionuploads"},"usagereports":{"href":"
https://repositorio.emgs.mx/server/api/statistics/usagereports"},"versionhistories":{"href":"
https://repositorio.emgs.mx/server/api/versioning/versionhistories"},"versions":{"href":"
https://repositorio.emgs.mx/server/api/versioning/versions"},"vocabularies":{"href":"
https://repositorio.emgs.mx/server/api/submission/vocabularies"},"vocabularyEntryDetails":{"href":"
https://repositorio.emgs.mx/server/api/submission/vocabularyEntryDetails"},"vocabularyEntryDetails-search":{"href":"
https://repositorio.emgs.mx/server/api/submission/vocabularyEntryDetails/search"},"workflowactions":{"href":"
https://repositorio.emgs.mx/server/api/config/workflowactions"},"workflowdefinitions":{"href":"
https://repositorio.emgs.mx/server/api/config/workflowdefinitions"},"workflowitems":{"href":"
https://repositorio.emgs.mx/server/api/workflow/workflowitems"},"workflowsteps":{"href":"
https://repositorio.emgs.mx/server/api/config/workflowsteps"},"workspaceitems":{"href":"
https://repositorio.emgs.mx/server/api/submission/workspaceitems"}}}
Done in 4.62s.
I would really appreciate the help.