Skip to content

Extension lists in errors can break the API specification #113

Open
@bushjames

Description

@bushjames

Occasionally we have seen errors (returned from ALS) with extension lists that are not API spec compliant due to the "value" properties of an extension being longer than the maximum stated 128 characters (API spec document section 7.3.14). I suggest this library should check for, and possibly truncate invalid strings in both key and value properties.

When these invalid error bodies reach DFSPs they are failing validation.

At this point I have not determined if the ALS or MSISDN oracle are the actual source of the invalid strings but regardless, I think some validation/truncation in this module would be a good idea.

Activity

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions