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

[ISSUE] Error: cannot create mws networks: unexpected error handling request: invalid character 'M' looking for beginning of value. This is likely a bug in the Databricks SDK for Go or the underlying REST API. Please report this issue with the following debugging information to the SDK issue tracker at https://github.com/databricks/databricks-sdk-go/issues. Request log: MALFORMED_REQUEST: Cannot parse request body: #1105

Open
rshash4x opened this issue Dec 27, 2024 · 1 comment

Comments

@rshash4x
Copy link

  • MALFORMED_REQUEST: Cannot parse request body:Description*
    A clear and concise description of what the bug is.

Reproduction
A minimal code sample demonstrating the bug.

Expected behavior
A clear and concise description of what you expected to happen.

Is it a regression?
Did this work in a previous version of the SDK? If so, which versions did you try?

Debug Logs
The SDK logs helpful debugging information when debug logging is enabled. Set the log level to Trace by configuring the default logger to log at trace (for example: add logger.DefaultLogger = &logger.SimpleLogger{Level: logger.LevelTrace} to your program), and include the logs here.

Other Information

  • OS: [e.g. macOS]
  • Version: [e.g. 0.1.0]

Additional context
Add any other context about the problem here.

@rshash4x
Copy link
Author

Error: cannot create mws networks: unexpected error handling request: invalid character 'M' looking for beginning of value. This is likely a bug in the Databricks SDK for Go or the underlying REST API. Please report this issue with the following debugging information to the SDK issue tracker at https://github.com/databricks/databricks-sdk-go/issues. Request log:
MALFORMED_REQUEST: Cannot parse request body: {

Everything is fine when i add attribute to the mws_network(vpc_en)
vpc_endpoints {
dataplane_relay = [data.aws_vpc_endpoint.relay.id]
rest_api = [data.aws_vpc_endpoint.workspace.id]
}

allowed_vpc_endpoint_ids = [data.aws_vpc_endpoint.workspace.id]

by adding above 2 attributes its getting fail and giving above error msg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant