Getting INTERNAL error on creating order

It’s getting {“error”:“INTERNAL”,“error_details”:“internal error”,“message”:“internal error”} on /api/v3/brokerage/orders API. it’s working on /accounts
does anyone have any idea about it?
The C# code is bleow.

private async Task<string> Post(string requestPath, string body)
                var timeStamp = DateTimeOffset.UtcNow.ToUnixTimeSeconds().ToString();
                var payload = $"{timeStamp}POST{requestPath}{body}";
                var signature = ComputeHmacSha256Hash(ApiSecret, payload);
                using var client = new HttpClient();
                client.BaseAddress = new Uri(BaseUrl);             
                client.DefaultRequestHeaders.Add("CB-ACCESS-KEY", ApiKey);
                client.DefaultRequestHeaders.Add("CB-ACCESS-SIGN", signature);
                client.DefaultRequestHeaders.Add("CB-ACCESS-TIMESTAMP", timeStamp);
                client.DefaultRequestHeaders.Add("accept", "application/json");

                var content = new StringContent(body, Encoding.UTF8, "application/json");
                using var response = await client.PostAsync(requestPath, content);
                var responseText = await response.Content.ReadAsStringAsync();
                var result = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
                return result;
            catch (Exception ex)
                return string.Empty;

The body was
“client_order_id”: “e95d3f07-998f-41e0-bf6f-7cac7cc66194”,
“product_id”: “BTC-USD”,
“side”: “BUY”,
“order_configuration”: {
“market_market_ioc”: {
“quote_size”: “50”
and requestPath was /api/v3/brokerage/orders

Thanks in advance!

BTW: I enabled all the permissions.

Welcome to Coinbase Developer Forum @Tony! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your inquiry, we will check on this for you with our team to see how we can best assist. We’ll get back to you once we have more information. Keep in touch!

Hi guys, do we have any news about it?

(previous post deleted for update)


I don’t use C# so I can’t test your code (although I know some C), but looking at it nothing is jumping out to me as wrong, I’m sure I’m just not seeing the problem though.

I have working python code here that you might be able to use to help debug your problem. Hopefully it helps. If not you can post more info and I’ll try to help.