Skip to content

Got "failed to unmarshal body" Error When Creating Resource #100

Open

Description

@yiwei-zhang1

Hi team, we're getting the error failed to unmarshal body when calling API to create a resource in ConductorOne.

This is the API that we're calling: https://www.conductorone.com/docs/api-reference/app-resource/create-manually-managed-app-resource.

This is a complete error message:
API error occurred: Status 400\n{\"code\":3,\"message\":\"failed to unmarshal body: proto: (line 1:2): unknown field \\\"description\\\"

However, according to the API doc here, description is part of the API request body.

We're using v1.27.1 version of the code base, and I see a similar error in other data structure that is fixed in latest v1.27.2. (PR link) Will the issue be solved if we upgrade the package version (I doubt about it since the fix PR is for a different data structure)?

Activity

  1. yiwei-zhang1 commented on Mar 4, 2026

    @yiwei-zhang1
    Author

    @mstanbCO

    Hi Michael (code base maintainer), it looks like the release v.1.27.2 was tagged with an extra dot after the v. The current tag name is: v.1.27.2.

    However, Go modules require strict semantic versioning in the format:

    vMAJOR.MINOR.PATCH
    

    Because of this, the version cannot be resolved using:

    go get github.com/ConductorOne/conductorone-sdk-go@v1.27.2
    

    and it does not appear in:

    go list -m -versions github.com/ConductorOne/conductorone-sdk-go
    

    Would it be possible to retag this release as: v1.27.2? This would make the version consumable via Go modules. Thanks!

    Image
  2. robert-chiniquy commented on Mar 13, 2026

    @robert-chiniquy

    I will get this soon. Thank you for letting us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions