CredentialEngine / CredentialRegistry

Repository for development of the Credential Registry
Apache License 2.0
12 stars 10 forks source link

All organization /resources URLs are returning null #713

Open mparsons-ce opened 2 months ago

mparsons-ce commented 2 months ago

The following URL returns null: https://credentialengineregistry.org/resources/ce-0abf92da-5536-4670-bb47-636a3f330d7c

Yet, these return data: https://credentialengineregistry.org/graph/ce-0abf92da-5536-4670-bb47-636a3f330d7c https://credentialengineregistry.org/envelopes/ce-0abf92da-5536-4670-bb47-636a3f330d7c

Quick testing suggests that this is only an issue for organizations

excelsior commented 2 months ago

@mparsons-ce Some of the organization resources were not extracted, although the envelopes themselves were published successfully. However, instead of 404s, nulls were returned.

I re-processed the envelopes, now the /resources endpoint returns correct data.

Why some resources were not extracted is an open question.

jeannekitchens commented 3 weeks ago

@excelsior @mparsons-ce can this be closed?

jeannekitchens commented 3 days ago

@excelsior @edgarf what is the follow up on this?

excelsior commented 1 day ago

@jeannekitchens The data issue has been fixed. I also did some improvements towards the publishing flow to reduce the chances of it happening again.

I'm working on adding some data consistency checks, as well as fixing the API to respond with a correct status instead of a null response. The latter is a bug, too, so let's keep this issue open until it resolved.