Closed amartinunowhy closed 2 years ago
Any news about this issues ?
Hello,
I'm experiencing the same issue on /cloud/project/{}/user/{}/s3Credentials
.
@rbeuque74 Any news on a possible date for a fix ?
Regards
Hello,
Any news on this issue ?
Regards
Hello @sdiemer , Sorry for the lag on my side. I changed a bit your proposal, looks good to me.
Thanks for your contribution ! :100:
There have been some changes in the production API that make any POST call without arguments to fail with the following error:
You provided an input body while none was expected
This is in particular the case in the
cloud/project/{}/kube/{}/kubeconfig
call.The
kwargs
arguments to the upstream call is passed asdata
toraw_call()
. A check forNone
is done to prevent adding a body. This condition is never true as in the case of no arguments,data
is notNone
but contains an empty dict. In this case, loosy testing for falsiness is better.