oauth2/token API endpoint is throwing error

Error - {"error":"invalid_request","error_description":"Invalid grant_type parameter or parameter missing"} ``` "grant_type": "authorization_code", ```

Only one auth mechanism allowed

I am trying to utilize the Try It API for the /download/:submission_id/:field_id api. I am getting the following error. Any idea how I can resolve this issue? <Error><Code>InvalidArgument</Code><Message>Only one auth mechanism allowed; only the X-Amz-Algorithm query parameter, Signature query string parameter or the Authorization header should be specified</Message><ArgumentName>Authorization</ArgumentName><ArgumentValue>Bearer xxxxx</ArgumentValue><RequestId>W89VPMM3MYQK76GH</RequestId><HostId>xxxx</HostId></Error>

How to center dynamic images (via Powerpoint templates) with different width?

In Powerpoint I am using a dynamic image, something like this: {$imageVariableName|insert_image:117:0:0:41} The potential images differ in width. The resulting PDF file has the image aligned on the left. The image should be aligned in the center. Is this possible? This is the result I want (for the 2nd images): ![](https://files.readme.io/8efac8b-image.png) This is the result I get: ![](https://files.readme.io/00e4286-image.png) How to center the dynamic image?

Return true/ false for checkbox

Hi, I'm trying to return true for each checkbox that is checked. Is this possible? I'm currently using values for the check boxes however each has to be unique, i.e I cant put true multiple times. Cheers Adam
ANSWERED

Field Attribute is not changed via API

I tried to use API in R studio to modify my form. I want to create a numerical field with 2 dp and min of 0. I created a function to do so called create_fields. create_fields \<- function(api_token, form_id, label) { # API URL for adding a field url \<- paste0("<https://www.formstack.com/api/v2/form/">, form_id, "/field.json") # Payload payload \<- sprintf( "{\"hide_label\":false, \"description_callout\":false, \"required\":false, \"readonly\":false, \"hidden\":false, \"uniq\":false, \"colspan\":1, \"sort\":null, \"field_type\":\"number\", \"label\":\"%s\", \"decimals\":2, \"min_value\":0}", label) # API request response \<- VERB("POST", url, body = payload, add_headers('authorization' = paste('Bearer', api_token)), content_type("application/json"), accept("application/json"),encode = "json") # Return the API response return(cat(response$status_code,"\\n",content(response, "text"))) } I managed to connect to my test form but the numerical field generated just use default attributes (0 dp and no min value) rather than attributes specified in the function. Regards, Ray

Can an API changelog be added?

Recent API changes related to encryption passwords have been breaking our API. Is it possible to add a changelog for the API so we can have some knowledge that things have changed?

Using a maps to position a pin and collect the coordinates in the form

Hi, I'm wondering if there would be a way to embed a map view (Google Maps or any) to for the user to place a pin on it and then collect coordinates when they send the form.

Remove HTML document elements from JS embed?

Hi, I've created a form and want to embed it using JS. However, the JS snippet seems to include HTML document elements: document.write("<!DOCTYPE html>"+"\\n"); document.write("\<html lang=\"en\">"+"\\n"); document.write("<head>"+"\\n"); document.write(" \<meta charset=\"UTF-8\" />"+"\\n"); document.write(" \<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">"+"\\n"); This makes it difficult for me to embed the form in the middle of an existing page. How do I remove these HTML document elements? Thanks!

"Customizing Business Card Templates with Developers.Formstack"

Hi, I want to offer customers the ability to customize business card templates using Developers. Formstack, but I'm not sure how to implement this feature effectively. Any suggestions or examples of successful implementations? [block:image] { "images": [ { "image": [ "https://files.readme.io/5e7d507-image.png", null, null ], "align": "center", "sizing": "1px" } ] } [/block] ![](https://files.readme.io/b21c329-image.png) [block:image] { "images": [ { "image": [ "https://files.readme.io/651fded-image.png", null, null ], "align": "center", "sizing": "1px" } ] } [/block]

"Struggling with Template Compatibility: Need Help Printing Catalogs on Formstack"

Hi, I'm having issues getting my catalog templates to display correctly on Formstack. Can anyone provide guidance on ensuring compatibility and optimizing the layout for catalogs printing?