Skip to content

/lookup endpoint doesn't support api version #1

@jsmatfess

Description

@jsmatfess

Running the lookupTargets() function currently doesn't function and will always return the following error: "WARNING:root:Error looking up for targets". I believe this is the culprit:

response = self.baseRequest(endpoint, params = params)

I believe changing this line out to: response = self.baseRequest(endpoint, params = params, supports_version = False) might work, as https://engage.newmode.net/api/lookup/20316/zip=02143 (and the like) returns results in my browser, but https://engage.newmode.net/api/v1.0/lookup/20316/zip=02143 gives me a 403.

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