I keep getting the following error:
{"error":"no implicit conversion of String into Integer"}
My API is setup as follows:
API url: https://my.api.mockaroo.com/getcontentlist/blog.json
schema "Content Item"
data = generate 9
data['category'] = params['category']
data
In my schema the category field is set up as a list with fixed values, “blog” being one of them.
This call works when my data = generate
is 1
, but fails on 9
.
Am I doing something wrong?