Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Can not use .Version() #183

Open
2 tasks done
senpro-ingwersenk opened this issue Nov 11, 2024 · 1 comment
Open
2 tasks done

Bug: Can not use .Version() #183

senpro-ingwersenk opened this issue Nov 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@senpro-ingwersenk
Copy link

Describe the bug

{
  "error": "cbor: cannot unmarshal UTF-8 text string into Go struct field connection.RPCResponse[github.com/surrealdb/surrealdb%2ego.VersionData].result of type surrealdb.VersionData"
}

Steps to reproduce

  • Create a connection
  • Call .Version()
  • Read resulting Error

Expected behaviour

A string containing the version

SurrealDB version

2.0.4/Docker

Contact Details

[email protected]

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@senpro-ingwersenk senpro-ingwersenk added the bug Something isn't working label Nov 11, 2024
@senpro-ingwersenk
Copy link
Author

I did some triaging on this. Turns out the error returned is: provided method is not allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant