Skip to content

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

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)?

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