Skip to content

Error when trying to use getPayload method on a string #5

@ehennestad

Description

@ehennestad

I am getting the following error:

Unrecognized method, property, or field 'getPayload' for class 'string'.

Error in ebrains.kgcore.api.Advanced/getTypesByName (line 1378)
            request.Body(1).Payload = request_body.getPayload(requiredProperties,optionalProperties);

This is the spec: https://core.kg.ebrains.eu/v3/api-docs/v3

The request body for this api endpoint is just a string, so it does not have a getPayload method

This is the arguments block:

            arguments
              obj ebrains.kgcore.api.Advanced
              stage string { mustBeMember(stage,["IN_PROGRESS","RELEASED"]) }
              request_body string
              optionals.withProperties logical
              optionals.withIncomingLinks logical
              optionals.space string
            end

Metadata

Metadata

Assignees

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