Skip to content

meta.code vs meta.constant #66

Answered by ezekg
nschloe asked this question in Q&A
Discussion options

You must be logged in to vote

I take it you’re referring to validation codes, not error codes. You’re likely using multiple accounts that have different pinned API versions. In API v1.2, we renamed meta.constant to meta.code (see changelog entry for July 2022). When we make a breaking API change, we do it in a “backwards compatible” way via versioning (further detailed in our API versioning docs).

I’d recommend pinning your integration to a specific API version via the Keygen-Version header. For example:

Keygen-Version: 1.3

This will force your requests to use a specific version, regardless of what the account’s pinned version is.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ezekg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants