Could you maybe check the Karaf logs to see if you see the reason for the
error ?

You can find them in the data/log directory.

cheers,
  Serge...

Serge Huber
CTO & Co-Founder
T +41 22 361 3424
9 route des Jeunes | 1227 Acacias | Switzerland
jahia.com <http://www.jahia.com/>
SKYPE | LINKEDIN <https://www.linkedin.com/in/sergehuber> | TWITTER
<https://twitter.com/sergehuber> | VCARD
<http://www.jahia.com/vcard/HuberSerge.vcf>


> JOIN OUR COMMUNITY <http://www.jahia.com/> to evaluate, get trained and
to discover why Jahia is a leading User Experience Platform (UXP) for
Digital Transformation.

On Thu, May 24, 2018 at 3:41 PM, Diogo Munaro Vieira <
[email protected]> wrote:

> Hey guys,
>
> I tried to create my Item using concepts
> <http://unomi.incubator.apache.org/versions/master/concepts.html>
> reference,
> but I'm getting 500 from API at localhost:
>
> curl -XPOST https://localhost:9443/cxs/profiles/properties/ -u karaf:karaf
> -H "Content-Type: application/json" --data '{
>     "itemId": "tweetNb",
>     "itemType": "propertyType",
>     "metadata": {
>         "id": "tweetNb",
>         "name": "tweetNb",
>         "systemTags": ["social"]
>     },
>     "target": "profiles",
>     "type": "integer"
> }' --insecure -v
>
> Do I really need to add this item to ingest an Event with it?
>
> If yes, what's wrong with my Curl?
>
> --
> Diogo Munaro Vieira
>
> -------
> Big Data
> Ramal: 6866
>
> http://diogomunaro.com
> (21) 98656-0745
>

Reply via email to