We need nearly 1000 fields to use,I want to add a new fields with Update API or Create API.Is it possible with the API?
We need nearly 1000 fields to use,I want to add a new fields with Update API or Create API.Is it possible with the API?
Hi
Hi
Thanks for your reply.
I used Create API [/forms] with simple form.
Response is this.
error
{
code: 'VALIDATION_ERROR',
description: 'The payload is invalid.',
details: [
{
code: 'NOT_ALLOWED_PROPERTY',
description: 'should NOT have additional properties',
field: '/fields/0/id',
in: 'body'
},
{
code: 'NOT_ALLOWED_PROPERTY',
description: 'should NOT have additional properties',
field: '/fields/1/id',
in: 'body'
},
{
code: 'NOT_ALLOWED_PROPERTY',
description: 'should NOT have additional properties',
field: '/fields/1/choice/0/id',
in: 'body'
},
{
code: 'NOT_ALLOWED_PROPERTY',
description: 'should NOT have additional properties',
field: '/thankyou_screens/0/id',
in: 'body'
},
{
code: 'NOT_ALLOWED_PROPERTY',
description: 'should NOT have additional properties',
field: '/thankyou_screens/1/id',
in: 'body'
}
]
}
400
So, I tested API /forms with EXAMPLE JSON.
I got a similar error.
Hi
Hey
i think type form is really fxxxkin
Hi
I’ve got the same error when I send JSON payload from TypeForm example page (https://www.typeform.com/developers/create/reference/create-form/)
After I removed problem fields from my requests it works.
So it seems the example in documentation is invalid?
You should share the JSON payload you sent. Otherwise, it is impossible to tell what is wrong.
You should share the JSON payload you sent. Otherwise, it is impossible to tell what is wrong.
As I said, I’ve send JSON from the API developers page: https://www.typeform.com/developers/create/reference/create-form/
The whole example of JSON payload.
Just tried the example JSON from example. It worked fine. I had to remove the GTM property as it is not compatible with the payment field. But this is an example from the doc meant to show all properties, which you can just tweak.
An other option that works great for me is to start the form in the GUI, then read it with the API and modify it to add the fields I need programmatically.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.