Quantcast
Channel: Mockaroo Community Forum - Latest posts
Browsing all 2665 articles
Browse latest View live
↧

Dataset lookup Error evaluating from_dataset

Greetings, I noticed in both of your examples that you are using a formula column type whereas I have been trying to do a from_dataset() in the column formula. Is that not allowed? Are there other...

View Article


Can my Mock API return JSON?

Hi, I'm trying to create a Mock API that returns JSON data. I created a schema (Patient) and a Mock API using that schema. However, the response is not in JSON format (see below). I don't see any...

View Article


Can my Mock API return JSON?

Doh. Had to set the Schema Format to JSON. Solved.

View Article

Dataset lookup Error evaluating from_dataset

Hi @cameron.orourke I think the formula in a generated column needs to act on the generated data. I don't believe it could be used to actually bring the data from a fieldset. You should be able to use...

View Article

Unique 6 digit ID

Hi all, I am trying to create a "UserID" column that needs to be numeric and exactly 6 chars in length ( so 100000 to 999999). I have created a number column and put the min as 100000 and the max as...

View Article


Dataset lookup Error evaluating from_dataset

Hi mp_np, Thanks. So I'm guessing the field formula has a different execution context than a formula column. Maybe by way of followup we should just put a small note in the doc or group the functions...

View Article

Image may be NSFW.
Clik here to view.

Unique 6 digit ID

Hi @nick.soan - I don't think it is possible to generate unique records. See this post here: Uniqueness of generated values No, general Mockaroo data is random, with no guarantee or effort towards...

View Article

Dataset lookup Error evaluating from_dataset

Hi @cameron.orourke - I'm not sure if there are specific functions that won't work in a field function. It is simply about operating on the current field using the 'this' variable - you can't use a...

View Article


Bug Report: Custom List Sequential

No - it will always be different values depending on global exchange dates. Every country has different holidays - so I would have to hard code for however many countries there are.... also - curious...

View Article


Json will not generate with nested array

https://mockaroo.com/17445fd0 I am generating a nested array. The top nest has 1300 records, in the second nest there are 256. Essentially I have 1300 dates, with pricing for 256 equities for each...

View Article

Json will not generate with nested array

I thought it started working - but it does not. I have also changed the date from a formula to a sequential dataset to see if there were processing speed differences - but I still recieve no output.

View Article

Json will not generate with nested array

Hi @thomas.zdon According to this http://forum.mockaroo.com/t/how-can-i-force-mockaroo-to-generate-a-file-on-the-server-instead-of-directly-downloading-it/800/2?u=mp_np, your file should be generating...

View Article

Datasets upload via REST API

I would say the same, I'd like to have this in place

View Article


How can I do a multi dimensional array?

Here is a sample output I would like? { "version": 1, "variables": [{ "names": ["username", "password"], "values": [ ["steve", "h4x0R"], ["joe1", "silly"], ["jack", "<3jill"], ["jill", "<3jack"]...

View Article

How do I choose random value from from_dataset lookup?

When I do a lookup in a dataset it returns a number of results. I want to randomly pick from the results set and not just the first match. Example - look up Red and I would like have one of the three...

View Article


How can I do a multi dimensional array?

I believe you are trying to do something similar to me. Which is - have a primitive array - i.e. your Steve, h4xor have no name identification as a field name. They are values. I have only been able...

View Article

Is there a way to fix this - {"error":"Your handler script took too long to...

The API is taking too long to return the results and I'm getting this error where I am trying to generate 1 or 100 records. {"error":"Your handler script took too long to execute. The handler script...

View Article


@mockaroo - response on sequential issues?

I am using a dataset of specific dates and need those in a primitive array. i believe I should be able to do this by specifing the field name with [100] for the number of dates I want - from a dataset...

View Article

Postcodes - how to randomly generate postcodes and blank postcodes

Hi There Issue 1. I have a JSON schema which contains a postcode field that uses the postcode data type. However in certain scenarios I would like it to return a blank value without the actual field...

View Article

How to create XML Attributes

I am also looking for the answer to this question. Have you found out @rodneyjt?

View Article
Browsing all 2665 articles
Browse latest View live