Skip to content

UpdateGBIF failed due to 401 #273

@qifeng-bai

Description

@qifeng-bai

Issue found during collectory testing
Updating a description of a dataset in the admin page, and then clicking 'update GBIF' does not push the update.

KM Steps to reproduce the error:

  1. Go to https://collections.test.ala.org.au/dataResource/show/dr364 (ensure you're are ROLE_EDITOR)
  2. Edit something small in the description, save. In this example, I edited the description from: "The ALA species sightings" to "The ALA's species sightings" (ie added an ')
  3. Click "Update GBIF" in GBIF synchronisation section (near the bottom of that dataset's edit page). Page should re-load with message 'Data resource synced with GBIF' alert. >> note, it does display this message
  4. Check the change is visible on GBIF's UAT system: https://www.gbif-uat.org/dataset/84a649ce-ff81-420d-9c41-aa1de59e3766 - note there is a level of caching in GBIF's UI, so it's best to check the web service to verify update: https://api.gbif-uat.org/v1/dataset/84a649ce-ff81-420d-9c41-aa1de59e3766 >>when I check this page, I can view it but the description is not updated.

However, https://api.gbif-uat.org/v1/organization/b65fadc2-33c0-4941-903d-1decd260bdb8 works

[loadOrganization] Error response 401 for organization/{0} with b65fadc2-33c0-4941-903d-1decd260bdb8
[loadDataset] Error response 401 for dataset/{0} with 84a649ce-ff81-420d-9c41-aa1de59e3766
Unable to update dr364 as GBIF lookup failed for 84a649ce-ff81-420d-9c41-aa1de59e3766

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions