Error 401 Unauthorized

GET https://api.astro-otter.space/v2/dso/item/ngc2893

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation
ApiPlatform\Metadata\Get {#411
  #parameters: null
  #shortName: "Dso"
  #class: "App\Model\Dso"
  #description: null
  #urlGenerationStrategy: null
  #deprecationReason: null
  #normalizationContext: null
  #denormalizationContext: null
  #collectDenormalizationErrors: null
  #validationContext: null
  #filters: []
  #elasticsearch: null
  #mercure: null
  #messenger: null
  #input: null
  #output: [
    "class" => "App\Dto\DsoRepresentation"
    "name" => "DsoRepresentation"
  ]
  #order: null
  #fetchPartial: null
  #forceEager: null
  #paginationEnabled: null
  #paginationType: null
  #paginationItemsPerPage: null
  #paginationMaximumItemsPerPage: null
  #paginationPartial: null
  #paginationClientEnabled: null
  #paginationClientItemsPerPage: null
  #paginationClientPartial: null
  #paginationFetchJoinCollection: null
  #paginationUseOutputWalkers: null
  #security: "is_granted('ROLE_API_USER')"
  #securityMessage: null
  #securityPostDenormalize: null
  #securityPostDenormalizeMessage: null
  #securityPostValidation: null
  #securityPostValidationMessage: null
  #provider: "App\State\DsoStateProvider"
  #processor: null
  #stateOptions: ApiPlatform\Elasticsearch\State\Options {#409 …}
  #queryParameterValidationEnabled: null
  #extraProperties: [
    "standard_put" => true
    "rfc_7807_compliant_errors" => true
    "user_defined_uri_template" => true
  ]
  #paginationViaCursor: null
  #read: null
  #deserialize: null
  #validate: null
  #write: null
  #serialize: null
  #priority: 0
  #name: "_api_/dso/item/{id}_get"
  #method: "GET"
  #uriTemplate: "/dso/item/{id}"
  #types: null
  #formats: null
  #inputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
  ]
  #outputFormats: [
    "jsonld" => [
      "application/ld+json"
    ]
    "json" => [
      "application/json"
    ]
  ]
  #uriVariables: [
    "id" => ApiPlatform\Metadata\Link {#407
      #key: null
      #schema: null
      #openApi: null
      #provider: null
      #filter: null
      #property: null
      #description: null
      #required: null
      #priority: null
      #hydra: null
      #constraints: null
      #security: null
      #securityMessage: null
      #extraProperties: []
      -parameterName: "id"
      -fromProperty: null
      -toProperty: null
      -fromClass: "App\Model\Dso"
      -toClass: null
      -identifiers: [
        "id"
      ]
      -compositeIdentifier: null
      -expandedValue: null
      -securityObjectName: null
    }
  ]
  #routePrefix: null
  #routeName: null
  #defaults: null
  #requirements: null
  #options: null
  #stateless: true
  #sunset: null
  #acceptPatch: null
  #status: null
  #host: null
  #schemes: null
  #condition: null
  #controller: "api_platform.symfony.main_controller"
  #headers: null
  #cacheHeaders: [
    "vary" => [
      "Content-Type"
      "Authorization"
      "Origin"
    ]
  ]
  #hydraContext: null
  #openapiContext: null
  #openapi: null
  #exceptionToStatus: null
  #links: null
  #errors: null
}
_api_operation_name
"_api_/dso/item/{id}_get"
_api_resource_class
"App\Model\Dso"
_controller
"api_platform.symfony.main_controller"
_firewall_context
"security.firewall.map.context.api"
_format
null
_route
"_api_/dso/item/{id}_get"
_route_params
[
  "_format" => null
  "_stateless" => true
  "_api_resource_class" => "App\Model\Dso"
  "_api_operation_name" => "_api_/dso/item/{id}_get"
  "id" => "ngc2893"
]
_stateless
true
_stopwatch_token
"4c5b4b"
id
"ngc2893"

Request Headers

Header Value
accept
"application/json"
accept-encoding
"gzip, deflate, br"
accept-language
"en"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjEzMDYzMjMsImV4cCI6MTc2MTMwOTkyMywicm9sZXMiOlsiUk9MRV9BUElfVVNFUiJdLCJ1c2VybmFtZSI6ImFub255bW91c0Bhc3Ryby1vdHRlci5zcGFjZSJ9.F7VnHv0ho4INLMyn1_DWDPNDL1JfuPzwc3Sxa8rn9seUvGhTgNSjNcEORAWCuoRwRmUNFI1rLHge0OSGMZsxnnSG-iWrsHLVMuEZ7vSPx7IIlTRdQ6Y6nBt6T3M6w5AzUxdw5Ki5LYtBxkpiiqRIBCHMs0sa-k_jmnq2VwMKLSeH-lqc8QmFYOKVT4BQvLRmPh5vDFOaCKvITLyY2jqdhUoE0Hcs3TN5WQG8AvLmU11EguRAz_kuTCdoNWgLl8N8wuZcAdDao3aDNdvt6JlDaBFtjhLAg8f6mBk0JXSOM_ISHkggKSIzNCBobc0WvKAcd-p4cA8uNuqtF7Y1WkUB9g"
connection
"keep-alive"
from
"googlebot(at)googlebot.com"
host
"api.astro-otter.space"
origin
"https://www.astro-otter.space"
referer
"https://www.astro-otter.space/"
user-agent
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7339.207 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"application/json"
date
"Sat, 25 Oct 2025 07:32:57 GMT"
www-authenticate
"Bearer"
x-debug-token
"8bccba"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"977c5789c4e006b29bfe84c67a6b409a"
ASTROBIN_API_KEY
"3524e6ee81749ea19a1ed0f14c5390efb4ac578f"
ASTROBIN_API_SECRET
"6f0a67f7aeb93cbce4addec000fca9991876df63"
CORS_ALLOW_ORIGIN
"^https?:\/\/(localhost|127\.0\.0\.1|(?:[a-zA-Z]+\.)?astro-otter\.space)(:[0-9]+)?$"
DATABASE_URL
"postgresql://spaceotterastro:Sw48DdNZQXOnkgbFCrqpIP3hs0f5R2iEmcKeoUBWYJx1HGjM@localhost:5432/astrootterdb"
ELASTICSEARCH_HOST
"http://localhost:9200"
GMAIL_APP_PWD
"bfivgluijujusamb"
GMAIL_LOGIN
"astro.otter.space"
GMAIL_MAIL
"astro.otter.space@gmail.com"
JWT_PASSPHRASE
"lazerbazoonibbler"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
JWT_TTL
"259200"
MAILER_DSN
"gmail+smtp://:@default"
MERCURE_JWT_SECRET
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZXJjdXJlIjp7InB1Ymxpc2giOlsiKiJdfX0.j-HztO7kyP4TW0vqOY5dr_7Zi21H6vl4PphMTwAAq4c"
MERCURE_PUBLIC_URL
"https://mercure.astro-otter.space/.well-known/mercure"
MERCURE_URL
"http://localhost:3000/.well-known/mercure"
NUXT_PAGE_API_URL
"https://www.astro-otter.space/pages/api-documentation"
REDIS_URL
"redis://localhost:6379"
SENDER_MAIL
"astro.otter.space@gmail.com"
TRUSTED_HOSTS
"^(.+\.)?astro-otter\.space"
TRUSTED_PROXIES
"127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
""
CONTENT_TYPE
""
DOCUMENT_ROOT
"/var/www/Astro-Otter/api/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"application/json"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br"
HTTP_ACCEPT_LANGUAGE
"en"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3NjEzMDYzMjMsImV4cCI6MTc2MTMwOTkyMywicm9sZXMiOlsiUk9MRV9BUElfVVNFUiJdLCJ1c2VybmFtZSI6ImFub255bW91c0Bhc3Ryby1vdHRlci5zcGFjZSJ9.F7VnHv0ho4INLMyn1_DWDPNDL1JfuPzwc3Sxa8rn9seUvGhTgNSjNcEORAWCuoRwRmUNFI1rLHge0OSGMZsxnnSG-iWrsHLVMuEZ7vSPx7IIlTRdQ6Y6nBt6T3M6w5AzUxdw5Ki5LYtBxkpiiqRIBCHMs0sa-k_jmnq2VwMKLSeH-lqc8QmFYOKVT4BQvLRmPh5vDFOaCKvITLyY2jqdhUoE0Hcs3TN5WQG8AvLmU11EguRAz_kuTCdoNWgLl8N8wuZcAdDao3aDNdvt6JlDaBFtjhLAg8f6mBk0JXSOM_ISHkggKSIzNCBobc0WvKAcd-p4cA8uNuqtF7Y1WkUB9g"
HTTP_CONNECTION
"keep-alive"
HTTP_FROM
"googlebot(at)googlebot.com"
HTTP_HOST
"api.astro-otter.space"
HTTP_ORIGIN
"https://www.astro-otter.space"
HTTP_REFERER
"https://www.astro-otter.space/"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.7339.207 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"66.249.66.160"
REMOTE_PORT
"63998"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1761377577
REQUEST_TIME_FLOAT
1761377577.5334
REQUEST_URI
"/v2/dso/item/ngc2893"
SCRIPT_FILENAME
"/var/www/Astro-Otter/api/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"51.91.124.95"
SERVER_NAME
"api.astro-otter.space"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SOFTWARE
"nginx/1.24.0"
SYMFONY_DOTENV_VARS
"TRUSTED_PROXIES,TRUSTED_HOSTS,APP_ENV,APP_SECRET,DATABASE_URL,REDIS_URL,CORS_ALLOW_ORIGIN,MERCURE_URL,MERCURE_PUBLIC_URL,MERCURE_JWT_SECRET,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,JWT_TTL,ASTROBIN_API_KEY,ASTROBIN_API_SECRET,ELASTICSEARCH_HOST,MAILER_DSN,GMAIL_LOGIN,GMAIL_APP_PWD,SENDER_MAIL,GMAIL_MAIL,NUXT_PAGE_API_URL"
USER
"www-data"