Skip to content

Error when querying the airport communication #32

Closed

Description

@Kuailun

Hi Navigraph team, I got the following error when querying the airport communication. Is that an issue?

Error message:
{"id":"1000","status":"Error","data":"Deserialization failed for column: communication_type error: unknown variant GTE, expected one of ACC, ACP, AIR, APP, ARR, ASO, ATI, AWI, AWO, AWS, CLD, CPT, CTA, CTL, DEP, DIR, EFS, EMR, FSS, GCO, GND, GET, HEL, INF, MIL, MUL, OPS, PAL, RDO, RDR, RFS, RMP, RSA, TCA, TMA, TML, TRS, TWE, TWR, UAC, UNI, VOL"}

Database info:

  • name: ng_jeppesen_fwdfd_2303
  • cycle: 2303
  • validityPeriod: "2023-02-23/2023-03-23"

WASM info:

  • name: msfs_navigation_data_interface.wasm
  • build date: 2025-11-19

Query info:

  • "{"function":"GetCommunicationsAtAirport","id":"%d","data":{"airport_ident":"KBOS"}}"

In the DB I can see communication_type:

Image

Activity

  1. SkySails commented on Nov 20, 2025

    @SkySails
    Contributor

    Hello! Thank you for the feedback!

    Initially, this looks related to #29 . We're looking into that and will get back to you!

  2. SkySails commented on Nov 20, 2025

    @SkySails
    Contributor

    Hello again! So:

    Where did you get this database from? Our test database provided in this repository is a limited version of cycle 2401.

    You are likely using an unsupported combination of our navigation data interface and our DFD database. We no longer provide the DFD v1 format to any new developers, and support for it will be phased out.

    That said, the technical reason why you are seeing this error is highly likely to be that the database contains data that was not anticipated and/or known about when the interface was written. When you use the "ready to go" functions (such as GetCommunicationsAtAirport), we are mapping database values like these to internal enum values. If there is a mismatch, there will be an error!

    These functions are currently only supposed to be compatible with DFD v1 (even if there obviously seems to be a compatibility issue). Developers who use DFD v2 instead utilize the ExecuteSQLQuery command to obtain the necessary information.

    We'll try to locate the database that you are using to try to replicate this issue to see if we can fix it. In the meantime, feel free to use the above mentioned "raw" access path to the database!

  3. Kuailun commented on Nov 20, 2025

    @Kuailun
    Author

    Got it. I got this DB from iniBuild A350.

    Not sure if this is the right place to ask, but to bundle the Navigraph database with a product, what is the latest version/cycle we can release?
    Is there a place to download this allowed version?

  4. SkySails commented on Nov 21, 2025

    @SkySails
    Contributor

    I see! That is not the way we intend for this process to work.

    Instead, please reach out to our developer support through one of the following channels:

    In the meantime, the issue reported in your original post will be fixed in #33 ! Thank you for the report!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions