Error 401 Unauthorized

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

Request / Response

Request

GET Parameters

None

POST Parameters

None

Uploaded Files

None

Request Attributes

Key Value
_api_operation
ApiPlatform\Metadata\Get {#414
  #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 {#412 …}
  #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 {#410
      #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" => "ngc5554"
]
_stateless
true
_stopwatch_token
"4b07e7"
id
"ngc5554"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br, zstd, deflate"
cookie
"PHPSESSID=g2c3q1ltauac8k3ck30evgv9ei"
host
"api.astro-otter.space"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
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
"Sun, 26 Oct 2025 03:53:22 GMT"
www-authenticate
"Bearer"
x-debug-token
"49d56e"

Cookies

Request Cookies

Key Value
PHPSESSID
"g2c3q1ltauac8k3ck30evgv9ei"

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
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_COOKIE
"PHPSESSID=g2c3q1ltauac8k3ck30evgv9ei"
HTTP_HOST
"api.astro-otter.space"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"216.73.216.46"
REMOTE_PORT
"63914"
REMOTE_USER
""
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1761450802
REQUEST_TIME_FLOAT
1761450802.3608
REQUEST_URI
"/v2/dso/item/ngc5554"
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/2.0"
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"