amadeus4dev-examples / amadeus-php

PHP library for the Amadeus Self-Service APIs
https://amadeus4dev-examples.github.io/amadeus-php/
MIT License
12 stars 14 forks source link

Got Error Invalid access token when trying to make hotel booking #98

Open aarie33 opened 3 months ago

aarie33 commented 3 months ago

Description

[Describe the issue]

Steps to Reproduce

  1. Try in postman or in the code.
  2. Got error (the rest endpoint is good, no problem at all)

Versions

PHP 8.3

{
    "errors": [
        {
            "code": 38190,
            "title": "Invalid access token",
            "detail": "The access token provided in the Authorization header is invalid",
            "status": 401
        }
    ]
}