• 381 views | 4 messages Discussion: LEAP
    Topic: bad character "\" error. Subscribe | Previous | Next
  • Yigit Tahmisoglu 9/4/2024

    Hello. When I try to reference a branch in LEAP, I keep getting the bad character "\" error. This only started happening after the latest updates. Could someone help me with this?
    Thank you!
  • Pintoko Aji 9/9/2024
      Best Response

    1 Like

    Hi Yigit,

    I’ve figured out how to troubleshoot the issue. If you're calling a Branch/Variable that contains a space, you can rename it by either removing the space or replacing it with an underscore, for example.
  • Gulden Ormanova 9/26/2024
      Best Response

    1 Like

    Hello,

    The "bad character '\'" error in LEAP when referencing a branch might be due to changes in how paths or references are handled in the latest updates. A few things you can try:

    1. Double-check your path formatting: Ensure that you're using the correct path or branch syntax. Some updates may require forward slashes ("/") instead of backslashes ("\").

    2. Look for escape sequences: If you're using a backslash ("\") in a string, it might be interpreted as an escape character. Try escaping it by using double backslashes ("\\") in your code, or switch to forward slashes ("/").

    3. Consult the release notes: Check the latest release notes or documentation for LEAP. The error could be related to changes in how branch names or paths are handled in the latest version.

    4. Revert to a previous version: If the issue persists and is critical, consider rolling back to a previous version of LEAP where this was not an issue, until a permanent fix is provided.

    If none of these work, you may want to reach out to the LEAP support team for a more detailed investigation.

    Best regards!

  • Adango Fred Hart 9/26/2024
      Best Response

    Apt response that works.

    Thanks Pintoko.