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

Query Dataset and Salesforce Guide

There seems to be no clear answer to querying the dataset. What does the URL look like? I don’t want to generate data, I want to query a phone number or a number field and return the record row. Can...

View Article


Formula: from_dataset is not working

What did your request URL look like?

View Article


Summing up a field from the innermost JSON node and displaying the total in...

How do we modify the formula if we have to sum up the values at 3 levels. Tried something like serviceline.productgroup.map {|l| l[‘amount’]}.sum and serviceline.productgroup.map {|l||l|...

View Article

POST generation of SQL insert format returns error?

When using a POST to the generate endpoint (eg: https://api.mockaroo.com/api/generate.sql?key=ABCDEFG&schema=mySchemaName) specifying the SQL type results in an error: {“error”:“undefined method...

View Article

Uploading a schema

Is there a way to upload a schema, using json or something so that I don’t have to manually use the UI for large schemas over and over again?

View Article


Uploading a schema

You have an API available, check it out here- Mockaroo - Random Data Generator and API Mocking Tool | JSON / CSV / SQL / Excel

View Article

Uploading a schema

You have an API available to generate data with options to reference an existing schema or send your schema in the request, check it out here: Mockaroo - Random Data Generator and API Mocking Tool |...

View Article

Error with Elsif statement

Hi everyone, Thanks mockaroo for all you do! I’m getting a syntax error with the following: if catalog_object_id == ‘TR24’ then ‘Tofu Rice’ elsif catalog_object_id == ‘VN15’ then ‘Vermicelli Noodles’...

View Article


Using Mockaroo API with Salesforce

Hi All, I know Salesforce isn’t necessarily the topic of conversation here, but I have never used code before and am really struggling with the API feature here and trying to get it to “talk” to...

View Article


Feature Request: Datefield from and to could be used independently?

When specifying a datetime type, if you don’t enter the from and to dates you get ‘error: invalid date “”’ Being able to specify a date range is nice, but it would be nice if: Not specifying either...

View Article

Regular expressions not working

I am unable to use regular expressions as field types. Here’s my schema. The RegExp for the discord_id seems to work, but not the one for shop.items.name or shop.items.description.

View Article

Image may be NSFW.
Clik here to view.

Did Not Connect: Potential Security Issue

Hello! I haven’t used Mockaroo for a little while, and came back today to try some things out. Using the site itself appears fine, but using a generated API endpoint returns a SEC ERROR UNKNOWN ISSUER...

View Article

Using git to store Mockaroo code

Is anyone using git to manage their Mockaroo code (schema.json etc…)? Are you using API’s somehow to integrate between Mockaroo and git?

View Article


Determine the value in one field based on the value from another field (both...

Anyone knows how to determine the value in one field based on the value from another field, and infact, both of these fields are using Custom List. For instance, each meal from a restaurant has a...

View Article

Need to create a dependent list

Hello Members I wanted to create a dependent list with multiple values like , if my column 1 is “Laptops” then Column 2 should be one of random (HP,ASUS,DELL,Apple) If it is “Console” , column 2...

View Article


Json with Data and Error

hi I want to genarate response like this { "data": [ { "user": "Hunt", "success": 18, "failure": 12, }, { "user": "Juliette", "success": 9, "failure": 14, } ] } what should I do current response [ {...

View Article

Json with Data and Error

You can’t put your entire dataset in a single object (unless its very small), but you can nest fields in an array by doing something like this: Mockaroo - Random Data Generator and API Mocking Tool |...

View Article


Feature Request: Datefield from and to could be used independently?

I guess the question here would be what does it truly mean to have no restriction? Would a date 2 billion years in the past or future be acceptable? I don’t think there is a sensible default here, so...

View Article

Cannot Run 'if condition'

if take_away_item ==‘1’ then 1*total_items end here is the formula, but the generated data always show: error: Field ‘take_away_item’ not found (I have created that field alrdy) if __bread...

View Article

My first row is getting ignored when providing dataset when trying to...

Does anyone know why my first is row is getting skipped or getting ignored when trying to generate my SQL query using my dataset ???

View Article
Browsing all 2666 articles
Browse latest View live