Post order returns OK when not successful

I’m currently using a POST handler which takes a generic type of a JSON object when the status of an order is OK. Right now when I try to post an order when I have insufficient cash available it returns OK from the Coinbase endpoint but the actual message in the JSON response is “success:false”. Shouldn’t this be something else than OK?

Hey @Okrah, Sincere apologies for delayed response.

Could you please share the screenshots of the response body when you call the Create Order API. Thank you!

Hi Rishabh, you can close this question. I’ve solved it in another fashion in my backend.

1 Like