Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A variable can't take another variable's value as a http request parameter if it starts with "1" #413

Open
Dize-core opened this issue Mar 14, 2024 · 0 comments
Labels
type/bug Unexpected behavior or a feature is broken

Comments

@Dize-core
Copy link

Dize-core commented Mar 14, 2024

At some API link (/api) i get JSON like that:

[
  {
    "id": 1,
    "object_name": "value1",
    "field": "text"
  },
  {
    "id": 2,
    "object_name": "value2",
    "field": "text"
  },
  {
    "id": 3,
    "object_name": "value3",
    "field": "text"
  },
  {
    "id": 10,
    "object_name": "value10",
    "field": "text"
  }
]

At (/api?id=1) i'm getting:

{
  "id": 1,
  "object_name": "value1",
  "field": "text"
}

My first variable with JSON API query
image
image
image

So i created a second variable to get field from the array's object I need by his ID
image
image

And it works but not with objects that have id 1 or 10. When i choose object from list with id=1/10, "field" variable gets whole array (making http request with empty "id" parameter)

UPD: it works with ids 11-19, but not with 1 or 10 and maybe not with 100 e.t.c.

@gabor gabor added the type/bug Unexpected behavior or a feature is broken label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Unexpected behavior or a feature is broken
Projects
Status: Backlog
Development

No branches or pull requests

2 participants