Connecting to Knack Database

Yes, (if I’m hearing you right ben) I created the input with an examle of Migel Cole in a text field. I’ll try swapping those two quick and be right back

I swapped and get same error again…hmmm

That is a timeout error or similar from the other API I believe. I would test again in a few moments,

Tried again and got this again…

That is for sure odd. You may need to dig a bit into the required field stuff in the Knack docs. because we should be sending the info appropriately.

Do the test again again, but open your Browser inspect tools first(if in Chrome), then open the “network Tab”. After having this open, do this test again, you should be able to find the actual request being sent, and we can verify that it’s sending correctly.

1 Like

Did I do that right? I’m not sure what any of this means lol but…that’s what I got

Or…

Or

You have a period ( . ) before the last curly bracket

1 Like

I think you saw the comma that was still there a few posts back @Victor . It’s gone now and same errors. I double checked though! Thanks!

this is the correct place, haha but we need to see the entire network call, and expand it. Can you move the inspect page to the right side instead of the bottom? done via the 3 dots in top right corner. then open one of those "preflight’ calls, and scroll to the bottom and it should show some additional info

1 Like

Yes?

I see the name field in Knack is set to required and I see that in the request payload…anything to do with anything perhaps??

hmm, maybe it’s the call right above that one. the other “test” call

1 Like

sorry for 1000 replies. It’s not a perfect science, and I am not perfect at it. haha

No problem at all!!! I’m happy to be getting help so I don’t drink again tonight lol. I have issues when I can’t figure something out :smile:

So here’s the first preflight I see:


@appwebmobile this is knack’s 400 error meaning.

1 Like

perfect. on that second screen shot screen, scroll to the bottom.

1 Like

I tried copying and pasting the app id again just to make sure and got the same thing?.

Hopefully this is the right one that tells you something:

i might know what the issue is.

@appwebmobile did you add a test name for the magic text in the custom action?

Yep…

Would it be post or put?? I currently am posting?.?.

just a quick question…

why are you naming the fields “field_40”