API : Details page of a no array result

Hi
I’m testing your platform and I’m trying to bind a custom API.
I’m using a free one that give me back a JSON object (https://www.thecocktaildb.com/) .
I had the error below but I’ve fixed including the correct response path in the GET COLLECTION tab, but now I can’t bind the details view on tapping interface…
I’ve already personalized the GET RECORD tab and the test is ok, but how can I solve the issue and use tap on the view to access details page?

Error: Error:
The result was not an array. Maybe the data you’re looking for is inside one of the response object keys?

{
“drinks”: [
{
“idDrink”: “11007”,
“strDrink”: “Margarita”,
“strDrinkAlternate”: null,
“strTags”: “IBA,ContemporaryClassic”,
“strVideo”: null,
“strCategory”: “Ordinary Drink”,
“strIBA”: “Contemporary Classics”,
“strAlcoholic”: “Alcoholic”,
“strGlass”: “Cocktail glass”,
“strInstructions”: “Rub the rim of the glass with the lime slice to make the salt stick to it. Take care to moisten only the outer rim and sprinkle the salt on it. The salt should present to the lips of the imbiber and never mix into the cocktail. Shake the other ingredients with ice, then carefully pour into the glass.”,
“strInstructionsES”: null,
“strInstructionsDE”: “Reiben Sie den Rand des Glases mit der Limettenscheibe, damit das Salz daran haftet. Achten Sie darauf, dass nur der äußere Rand angefeuchtet wird und streuen Sie das Salz darauf. Das Salz sollte sich auf den Lippen des Genießers befinden und niemals in den Cocktail einmischen. Die anderen Zutaten mit Eis schütteln und vorsichtig in das Glas geben.”,
“strInstructionsFR”: null,
“strInstructionsIT”: “Strofina il bordo del bicchiere con la fetta di lime per far aderire il sale.\r\nAvere cura di inumidire solo il bordo esterno e cospargere di sale.\r\nIl sale dovrebbe presentarsi alle labbra del bevitore e non mescolarsi mai al cocktail.\r\nShakerare gli altri ingredienti con ghiaccio, quindi versarli delicatamente nel bicchiere.”,
“strInstructionsZH-HANS”: null,
“strInstructionsZH-HANT”: null,
“strDrinkThumb”: “https://www.thecocktaildb.com/images/media/drink/5noda61589575158.jpg”,
“strIngredient1”: “Tequila”,
“strIngredient2”: “Triple sec”,
“strIngredient3”: “Lime juice”,
“strIngredient4”: “Salt”,
“strIngredient5”: null,
“strIngredient6”: null,
“strIngredient7”: null,
“strIngredient8”: null,
“strIngredient9”: null,
“strIngredient10”: null,
“strIngredient11”: null,
“strIngredient12”: null,
“strIngredient13”: null,
“strIngredient14”: null,
“strIngredient15”: null,
“strMeasure1”: "1 1/2 oz ",
“strMeasure2”: "1/2 oz ",
“strMeasure3”: "1 oz ",
“strMeasure4”: null,
“strMeasure5”: null,
“strMeasure6”: null,
“strMeasure7”: null,
“strMeasure8”: null,
“strMeasure9”: null,
“strMeasure10”: null,
“strMeasure11”: null,
“strMeasure12”: null,
“strMeasure13”: null,
“strMeasure14”: null,
“strMeasure15”: null,
“strImageSource”: “File:Klassiche Margarita.jpg - Wikimedia Commons”,
“strImageAttribution”: “Cocktailmarler”,
“strCreativeCommonsConfirmed”: “Yes”,
“dateModified”: “2015-08-18 14:42:59”
},
{
“idDrink”: “11118”,
“strDrink”: “Blue Margarita”,
“strDrinkAlternate”: null,
“strTags”: null,
[[[…omissis…]]]
]
}
status: -1

Resource settings for Get collection (GET)

Resource URL: https://www.thecocktaildb.com/api/json/v1/1/search.php
Relative path:

Hi,

This tutorial covers how to pass data and create a detail page, check it out and see if you’re missing a step. In this case it seems that you should be using the property idDrink to pass the id of the selected item to the detail page.