# return 400 error using post method

**URL:** https://community.thunkable.com/t/return-400-error-using-post-method/2153531
**Category:** Web API's
**Tags:** beginner
**Created:** [November 28, 2022, 2:17pm UTC](https://community.thunkable.com/t/return-400-error-using-post-method/2153531 "2022-11-28T14:17:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lucas.cs.menezes7dqu](https://avatars.discourse-cdn.com/v4/letter/l/d2c977/32.png) [@lucas.cs.menezes7dqu](https://community.thunkable.com/u/lucas.cs.menezes7dqu)
#### Post date: [November 28, 2022, 2:17pm UTC](https://community.thunkable.com/t/return-400-error-using-post-method/2153531/1 "2022-11-28T14:17:18Z")

</div>

Hello, I’m Brazilian, I hope you understand me. When executing the following instruction post, the error 400 is returned, at first I thought that the url of the api that I am using was wrong, however it is correct, because the get method returns the data correctly, however when I execute the post it returns error 400. I don’t know what part of the instruction is wrong, if anyone can help me I’d appreciate it.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/b/fbdd080b44299ed7727055e5b229b6b52cb319a2.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d198326ee47ded735f93f527c523d54632801483.png)

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [November 28, 2022, 5:09pm UTC](https://community.thunkable.com/t/return-400-error-using-post-method/2153531/2 "2022-11-28T17:09:04Z")

</div>

The status is 400 but what is the value of the green `error` block if you assign it to a label or text input’s text?

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [November 29, 2022, 1:37pm UTC](https://community.thunkable.com/t/return-400-error-using-post-method/2153531/3 "2022-11-29T13:37:45Z")

</div>

Error 400 means a bad request.  
This could be due to something wrong in the URL or the format used is wrong.

---

<div class="post-metadata">

### Author: ![manyone](https://avatars.discourse-cdn.com/v4/letter/m/ee59a6/32.png) [@manyone](https://community.thunkable.com/u/manyone)
#### Post date: [November 30, 2022, 7:04am UTC](https://community.thunkable.com/t/return-400-error-using-post-method/2153531/4 "2022-11-30T07:04:45Z")

</div>

i was able to type this in my browser and i got a good response (it was empty but it wasn’t 400):  
`https://cardapiodefault.bubbleapps.io/version-test/api/1.1/obj/appfinance`

i have a feeling you may not have put the correct field names in the create\_object block, or maybe you entered them with wrong spelling.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:12pm UTC](https://community.thunkable.com/t/return-400-error-using-post-method/2153531/5 "2024-11-08T13:12:38Z")

</div>


