Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-3182

FIWARE.Request.Tech.Cloud.CloudPortal.Object Storage401

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hello,

      I'm trying to get the token for Object Storage but it says:
      {"error":

      {"message": "The request you have made requires authentication.", "code": 401, "title": "Unauthorized"}

      I have gotten the tenant and the initial token before without any problems.

      My curl code is:

      curl -d '{"auth": {"passwordCredentials":

      {"username":"jartieda@yahoo.com", "password":"*****"}

      ,"tenantName":"00000000000000000000000000003234"}}' \
      -H 'Content-type: application/json' \
      http://cloud.lab.fi-ware.org:4730/v2.0/tokens \
      -vvv

      Thank you very much,
      Sergio Rincón.

      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fi-ware.org
      https://lists.fi-ware.org/listinfo/fiware-lab-help

      [Created via e-mail received from: "sergiosanes ." <sergiorincon89@gmail.com>]

        Activity

        Hide
        aalonsog Alvaro Alonso added a comment -

        You have to use

        "tenantId":"00000000000000000000000000003234"

        in your request. Because that is the id, not the name.

        BR

        Show
        aalonsog Alvaro Alonso added a comment - You have to use "tenantId":"00000000000000000000000000003234" in your request. Because that is the id, not the name. BR

          People

          • Assignee:
            aalonsog Alvaro Alonso
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: