Discussions
Error when creating a feature
I keep getting an error when trying to create a feature. I get the error in my code and in the API tool provided by product board. Here is the code with dummy data for the status ID, product ID, and email
```php
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://api.productboard.com/features', [
'body' => '{"data":{"type":"feature","status":{"id":"XXXXX-XXXXXXX-XXXXXXXX-XXXXXXX"},"parent":{"product":{"id":"XXXXX-XXXXXXX-XXXXXXXX-XXXXXXX"}},"owner":{"email":"[email protected]"},"name":"Test API Idea","description":"here is the description"}}',
'headers' => [
'X-Version' => '1',
'accept' => 'application/json',
'authorization' => 'Bearer ...',
'content-type' => 'application/json',
],
]);
echo $response->getBody();
```
Here is the error that I'm getting
```
{
"errors": [
{
"code": "validation.html.invalid",
"title": "Failed to parse HTML content",
"detail": "[Path '/data/description'] [line: 1, col: 31] cvc-complex-type.2.3: Element 'body' cannot have character [children], because the type's content type is element-only.",
"source": {
"pointer": "/data/description"
}
}
]
}
```
The description is text, so any ideas on what this error means?
Posted by Eric T 3 months ago
How to add an Insight to a Feature via the API ?
I am trying to programmatically create new insights in a features through the API. Is this even possible ?
Thanks !
Posted by Samuel Delalez 3 months ago
Portal API?
I would like to integrate upvoting for features right in our product, can you make portal API available? Thanks.
Posted by Nick Yushkevich 4 months ago
Tags support
I'd like to find features by tags - is that possible? Can it be supported? (Either in the query call itself or as a property to filter manually against when the entities retrieved).
Posted by null 4 months ago
Internal Server Error (EC: 500) For Update Note PATCH
Is anyone else experiencing a server error for updating notes calls
Posted by Jackson Lisec 4 months ago
Company Custom Fields
Has anyone had difficulties updating custom company fields programmatically? The custom fields I can see are set at the feature level and I am not getting any data returned for custom fields at the company level.
Posted by null 4 months ago
Get all notes endpoint does not works
The endpoint <https://api.productboard.com/notes> simply doesn't works, it throws an "Internal server error"
Posted by Leonel 4 months ago
GET Notes doesn't return User or Company info
Hi there,
Using GET notes endpoint, I see the User ID, but I don't see the User's email address or Company info returned. Is there a way to return these along with User ID?
Posted by null 5 months ago
Feature comments via API
Hi - it doesn't look like it's possible to retrieve the comments associated with a feature via the API (unless I missed it ?!)
Is this feature planned for a future release at all?
Posted by Pete Dinham 5 months ago
User company association.
Is it possible to obtain a list of companies associated with users through the API endpoint that lists all users?
Posted by Abhishek 5 months ago