Uploaded image for project: 'Admin Experience'
  1. Admin Experience
  2. AX-623

After site rename, REST API calls failing with 401/403/404 response code

    • 7
    • Minor

      Issue Summary

      After a site rename, if we try to perform a call via REST API call the request will fail with 401 "Client must be authenticated to access this resource."

      Steps to Reproduce

      1. Rename site "randomsite1234.atlassian.net" to "changedsite1234.atlassian.net"
      2. Make a REST call to an API endpoint
      curl -u EMAIL:APITOKEN "https://randomsite1234.atlassian.net/rest/api/2/myself"
      

      Expected Results

      The REST API call should succeed with 200 HTTP response code

      Actual Results

      The REST API call will fail with a 401/ 403 /404 HTTP response code

      Workaround

      Use the new site name in the REST API call

            [AX-623] After site rename, REST API calls failing with 401/403/404 response code

            SET Analytics Bot made changes -
            Support reference count New: 7
            Rodrigo B. made changes -
            Component/s Original: Admin - Custom Domains [ 73295 ]
            Component/s New: Org Management - App URLs - Custom Domains [ 80135 ]
            Key Original: CLOUD-11926 New: AX-623
            Support reference count Original: 13
            Project Original: Atlassian Cloud [ 14613 ] New: Admin Experience [ 24210 ]
            SET Analytics Bot made changes -
            Support reference count Original: 12 New: 13
            SET Analytics Bot made changes -
            Support reference count Original: 11 New: 12
            SET Analytics Bot made changes -
            Support reference count Original: 10 New: 11
            SET Analytics Bot made changes -
            Support reference count Original: 9 New: 10
            SET Analytics Bot made changes -
            Support reference count Original: 7 New: 9
            SET Analytics Bot made changes -
            Support reference count Original: 6 New: 7
            SET Analytics Bot made changes -
            Support reference count Original: 5 New: 6
            Kat N made changes -
            Labels Original: jsw-s11 New: RIBS-SHORT jsw-s11

              Unassigned Unassigned
              pferreira@atlassian.com Paulo F. (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              18 Start watching this issue

                Created:
                Updated: