# Who could help me with fixing the web API returning "null" every time?

**URL:** https://community.thunkable.com/t/who-could-help-me-with-fixing-the-web-api-returning-null-every-time/3301421
**Category:** Web API's
**Tags:** beginner
**Created:** [October 26, 2024, 7:31am UTC](https://community.thunkable.com/t/who-could-help-me-with-fixing-the-web-api-returning-null-every-time/3301421 "2024-10-26T07:31:13Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![nishkactyr1dq](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/nishkactyr1dq/32/150025_2.png) [@nishkactyr1dq](https://community.thunkable.com/u/nishkactyr1dq)
#### Post date: [October 26, 2024, 7:31am UTC](https://community.thunkable.com/t/who-could-help-me-with-fixing-the-web-api-returning-null-every-time/3301421/1 "2024-10-26T07:31:14Z")

</div>

I’m new to Thunkable, and as a student I am in a rush to finish a project due tomorrow. The below is whatever code I have which should be functional as I followed the Thunkable youtube tutorial for connecting Web APIs, but it’s clearly not working. I did mess around a bit and I think that’s because the property I want is within an array, but I don’t know how to use the blocks to get the property.

Code blocks in thunkable:

 ![Screenshot 2024-10-26 at 12.51.48 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/1/b114a9f47e004899a33932158adf9c54148755f6.png)

Web API (TheMealDB):

```auto
{
  "meals": [
    {
      "idMeal": "52771",
      "strMeal": "Spicy Arrabiata Penne",
      "strDrinkAlternate": null,
      "strCategory": "Vegetarian",
      "strArea": "Italian",
      "strInstructions": "Bring a large pot of water to a boil. Add kosher salt to the boiling water, then add the pasta. Cook according to the package instructions, about 9 minutes.\r\nIn a large skillet over medium-high heat, add the olive oil and heat until the oil starts to shimmer. Add the garlic and cook, stirring, until fragrant, 1 to 2 minutes. Add the chopped tomatoes, red chile flakes, Italian seasoning and salt and pepper to taste. Bring to a boil and cook for 5 minutes. Remove from the heat and add the chopped basil.\r\nDrain the pasta and add it to the sauce. Garnish with Parmigiano-Reggiano flakes and more basil and serve warm.",
      "strMealThumb": "https://www.themealdb.com/images/media/meals/ustsqw1468250014.jpg",
      "strTags": "Pasta,Curry",
      "strYoutube": "https://www.youtube.com/watch?v=1IszT_guI08",
      "strIngredient1": "penne rigate",
      "strIngredient2": "olive oil",
      "strIngredient3": "garlic",
      "strIngredient4": "chopped tomatoes",
      "strIngredient5": "red chilli flakes",
      "strIngredient6": "italian seasoning",
      "strIngredient7": "basil",
      "strIngredient8": "Parmigiano-Reggiano",
      "strIngredient9": "",
      "strIngredient10": "",
      "strIngredient11": "",
      "strIngredient12": "",
      "strIngredient13": "",
      "strIngredient14": "",
      "strIngredient15": "",
      "strIngredient16": null,
      "strIngredient17": null,
      "strIngredient18": null,
      "strIngredient19": null,
      "strIngredient20": null,
      "strMeasure1": "1 pound",
      "strMeasure2": "1/4 cup",
      "strMeasure3": "3 cloves",
      "strMeasure4": "1 tin ",
      "strMeasure5": "1/2 teaspoon",
      "strMeasure6": "1/2 teaspoon",
      "strMeasure7": "6 leaves",
      "strMeasure8": "spinkling",
      "strMeasure9": "",
      "strMeasure10": "",
      "strMeasure11": "",
      "strMeasure12": "",
      "strMeasure13": "",
      "strMeasure14": "",
      "strMeasure15": "",
      "strMeasure16": null,
      "strMeasure17": null,
      "strMeasure18": null,
      "strMeasure19": null,
      "strMeasure20": null,
      "strSource": null,
      "strImageSource": null,
      "strCreativeCommonsConfirmed": null,
      "dateModified": null
    }
  ]
}

```

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [October 26, 2024, 3:24pm UTC](https://community.thunkable.com/t/who-could-help-me-with-fixing-the-web-api-returning-null-every-time/3301421/2 "2024-10-26T15:24:26Z")

</div>

The property you want is “meals[1].strInstructions”. I discuss that in the comments for my JSON API tutorial video here: [API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575).
