Jump to content

Recommended Posts

Posted

I'm trying to submit a custom field value using the api for client create, and am getting the following error, stdClass Object ( [value] => stdClass Object ( [required] => my_custom_field is in an invalid format. ) )

 

The code is my vars is :

 

'custom' => array(
    'my_custom_field' => '12345'
),
Posted

It would be helpful to see the code for the entire request rather than an excerpt of a variable. Most problems related to using the API tend to be incorrect usage of BlestaApi::post. Based on the error, it sounds like that custom field is required, but Blesta is not receiving any value for it.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...