Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ITEM TOO LONG #409

Open
tolya1984a opened this issue Jul 16, 2020 · 3 comments
Open

ITEM TOO LONG #409

tolya1984a opened this issue Jul 16, 2020 · 3 comments

Comments

@tolya1984a
Copy link

Hello to you all.

An error occurs in the PNR_AddMultiElements method. What does this mean?

[status] => ERR
[messages] => Array
(
[0] => Amadeus\Client\Result\NotOk Object
(
[code] => 1902
[text] => ITEM TOO LONG / NOT ENTERED /
[level] => element
)

    )
@DerMika
Copy link
Collaborator

DerMika commented Jul 16, 2020

To what element does this point?

Remarks (and probably many other elements in Amadeus PNR's) have a limit of 128 characters.

@DerMika
Copy link
Collaborator

DerMika commented Jul 16, 2020

I think you'd better remove all personal information

@DerMika
Copy link
Collaborator

DerMika commented Jul 16, 2020

It's the RF remark that errors. Make sure its contents is less than 128 characters in total. you can set an RF string like this:

'requestCreatorParams' => [
    'receivedFrom' => 'my test project' // The "Received From" string that will be visible in PNR History
]

(see https://github.com/amabnl/amadeus-ws-client/blob/master/docs/about-get-started.rst#set-up-a-test-client)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants