twuebi commented on issue #538:
URL: https://github.com/apache/iceberg-go/issues/538#issuecomment-3227640809
The error looks like a go error, could you set a breakpoint in `doPost` and
get the raw response, e.g. via:
```patch
diff --git a/catalog/rest/rest.go b/catalog/rest/rest.go
index 63c7389..7683757 100644
--- a/catalog/rest/rest.go
+++ b/catalog/rest/rest.go
@@ -322,7 +322,8 @@ func doPost[Payload, Result any](ctx context.Context,
baseURI *url.URL, path []s
if rsp.StatusCode != http.StatusOK {
return ret, handleNon200(rsp, override)
}
-
+ content, err := io.ReadAll(rsp.Body)
+ fmt.Println(rsp.StatusCode, string(content))
if rsp.ContentLength == 0 {
return
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]