Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

custom_fields with a required parameter must specify an editor parameter. #119

@paaacman

Description

@paaacman

Hello,

Since today, we have this error custom_fields with a required parameter must specify an editor parameter. when trying to create an embedded signature.
The template does not needs me to send custom_fields for signers. Required fields are to be set by signers.

We use hellosign-php-sdk v3.6.0.
It happen since a deployment of our application (potentiel update of dependencies) but the error is from HelloSign API.

If I remove 'required' field of the array, in AbstractSignatureRequest::setCustomFieldValue(), it's working as expected.

I found this similar issue, but I don't understand why I have this issue now. hellosign/hellosign-dotnet-sdk#68

It's not working either with hellosign-php-sdk v3.7.0.

Custom fields are parsed to JSON so null values are not removed by $request->toParams() mechanism.

The solution for me is to modify AbstractSignatureRequest::setCustomFieldValue() but it's in hellosign-php-sdk and I need a HOTFIX. Do you see any other solution?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    legacyRelated to legacy, non-OpenAPI SDK

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions