You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to surreal 2.0, using the same code to query throws error as follows
SurrealDb.Net.Exceptions.SurrealDbErrorResultException: Request problems detected
There was a problem with the database: Specify a namespace to use
at SurrealDb.Net.Internals.SurrealDbHttpEngine.EnsuresFirstResultOk(SurrealDbResponse dbResponse) in /_/SurrealDb.Net/Internals/SurrealDbEngine.Http.cs:line 1030
at SurrealDb.Net.Internals.SurrealDbHttpEngine.Select[T](String table, CancellationToken cancellationToken) in /_/SurrealDb.Net/Internals/SurrealDbEngine.Http.cs:line 481
The SDK was encountering errors with various operations (e.g., QUERY, RAWQUERY, SET, UPSERT) that interact directly with the database. This commit fixes the issue for SurrealDB V2.X, but it is not compatible with V1.X.
Fixessurrealdb#127:
Changes included:
- Updated const strings for HTTP request headers from 'NS' to 'surrealdb-ns' and 'DB' to 'surrealdb-db'.
This issue exists due to the use of an outdated package that was not compatible with SurrealDB. You should use SurrealDb.Net v0.6.0 or later if using SurrealDB v2.X.
If it happens you have an issue with SurrealDb.Net v0.6.0, then I suggest you to create a new issue and provide some context about the problem.
Describe the bug
After updating to surreal 2.0, using the same code to query throws error as follows
Steps to reproduce
Here is my code
Expected behaviour
returns the data correctly.
SurrealDB version
surreal 2.0
Package version(s)
Contact Details
[email protected]
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: