Skip to content

DB returning error #63

@rambleraptor

Description

@rambleraptor

I'm using aepc with CEL/DB for the first time. When I made a request, I was getting this error message back:

025-02-14T12:59:15.658-0800 [INFO]  provider.terraform-provider-scaffolding: Response body: "{\"code\":13,\"message\":\"failed to create book: sql: converting argument $2 type: unsupported type []*bookstore.Book_Author, a slice of ptr\",\"details\":[]}": tf_req_id=bc2ad022-2b07-52af-7c4b-b8fbfa9cbe15 tf_resource_type=scaffolding_book @caller=/Users/astephen/Projects/aep/terraform-provider-scaffolding-framework/internal/provider/client.go:144 tf_provider_addr=registry.terraform.io/hashicorp/scaffolding tf_rpc=ApplyResourceChange @module=scaffolding timestamp=2025-02-14T12:59:15.658-0800

The authors field was blank in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions