Sitelet https://github.com/XeroAPI/Xero-Java/issues/347
Skip to content

Not able to find contact if name contains double quotes #347

Description

@sevendark

SDK you're using (please complete the following information):

  • Version 4.26.0

Describe the bug
i have a xero contact: asd"asd'asd"

i try to use get contacts api to get it by where condition.

String where = "Name==\"asd\"asd'asd\"\""
String where = "Name==\"asd\\\"asd'asd\\\"\""
String where = "Name==\"asd\\\\\"asd'asd\\\\\"\""

both returning

{
  "ErrorNumber": 16,
  "Type": "QueryParseException",
  "Message": "Syntax error"
}

Expected behavior
get contact

Activity

  1. github-actions commented on Aug 11, 2023

    @github-actions

    PETOSS-332

  2. github-actions commented on Aug 11, 2023

    @github-actions

    Thanks for raising an issue, a ticket has been created to track your request

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