Open ricardogomes opened 5 months ago
Same here
Unable to create database, got error: decode response: unexpected Content-Type: text/plain
@jpedroh any ideas?
Hello!
Sorry for taking so long to answer this, been busy with a few side things.
I've analyzed it a little and somehow, the API for Turso started randomly returning Content Type text-plain for valid JSON. This then breaks the behaviour of the autogenerated swagger client. I'm thinking in opening a PR for forcing the response content type to be application/json so the api response parse do not fail
Ok I've updated the swagger definitions and gave it a try and it seems to be working. Can you guys give a try? I've published a new version 0.2.1.
I'm getting this error with the following elements:
Unable to create database, got error: decode response: unexpected Content-Type: text/plain
The <> are replaced with actual values