Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 403 when saving #205

Open
amadeupons opened this issue Dec 9, 2023 · 2 comments
Open

Error 403 when saving #205

amadeupons opened this issue Dec 9, 2023 · 2 comments

Comments

@amadeupons
Copy link

This JSKOS record could not be saved:

{
  "ADDRESS": {
    "code": "08037 ",
    "country": "Spain",
    "locality": "Barcelona",
    "street": "Mallorca, 272"
  },
  "API": [],
  "FORMAT": [
    {
      "uri": "http://bartoc.org/en/Format/PDF"
    },
    {
      "uri": "http://bartoc.org/en/Format/Printed"
    },
    {
      "uri": "http://bartoc.org/en/Format/EPUB"
    }
  ],
  "definition": {
    "en": [
      "Terminological dictionary with 500 terms related to the COVID-19 pandemic and the coronavirus SARS-CoV-2 defined in Catalan and with equivalents in 9 languages: Occitan, Basque, Galician, Spanish, English, French, Portuguese (with variants from Portugal and Brazil), Dutch and Arabic."
    ],
    "und": [
      "Diccionari terminològic amb 500 termes relacionats amb la pandèmia COVID-19 i el coronavirus SARS-CoV-2 definits en català i amb equivalents en 9 idiomes: occità, basc, gallec, castellà, anglès, francès, portuguès (amb variants de Portugal i Brasil), holandès i àrab."
    ]
  },
  "extent": "500 terms",
  "languages": [
    "ca",
    "oc",
    "eu",
    "gl",
    "es",
    "en",
    "fr",
    "pt",
    "nl",
    "ar"
  ],
  "prefLabel": {
    "ca": "Diccionari multilingüe de la COVID-19",
    "en": "Multilingual dictionary of the COVID-19"
  },
  "publisher": [
    {
      "prefLabel": {
        "en": "TERMCAT"
      },
      "uri": "https://viaf.org/viaf/136700347/"
    }
  ],
  "startDate": "2020",
  "subject": [
    {
      "uri": "http://dewey.info/class/61/e23/",
      "inScheme": [
        {
          "uri": "http://bartoc.org/en/node/241"
        }
      ],
      "notation": [
        "61"
      ]
    },
    {
      "uri": "http://dewey.info/class/616/e23/",
      "inScheme": [
        {
          "uri": "http://bartoc.org/en/node/241"
        }
      ],
      "notation": [
        "616"
      ]
    }
  ],
  "subjectOf": [
    {
      "url": "https://www.esteve.org/ca/libros/diccionari-covid-19/"
    }
  ],
  "type": [
    "http://www.w3.org/2004/02/skos/core#ConceptScheme",
    "http://w3id.org/nkos/nkostype#terminology",
    "http://w3id.org/nkos/nkostype#dictionary"
  ],
  "uri": "http://bartoc.org/en/node/20454",
  "url": "https://www.termcat.cat/ca/diccionaris-en-linia/286"
}

The request included no token.

@stefandesu
Copy link
Member

Hi, sorry for getting back to you with such a big delay. Can you give us some context? Where does that record come from? Are you using a self-hosted instance? The URI http://bartoc.org/en/node/20454 seems to represent a different vocabulary from the one you're trying to save. Is there anything in the response (looking at the data in the browser's dev tools) in addition to it being an error 403?

Or in short: How can we reproduce this error in order to fix it?

Thanks!

@amadeupons
Copy link
Author

Hi, thanks for your reply.
The problem occurred when I was working with the Firefox navigator. I tried then with Chrome, and then all was OK.
So, the issue didn't exist anymore using Chrome as a platform to work.
See you,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants