cancel
Showing results for 
Search instead for 
Did you mean: 

Playground generate a CURL request with missing required headers

Eduardo_Rodrigu
Champ on-the-rise
Champ on-the-rise

When running Repository.Query command on Playground it works properly. Then I was playing with CURL request generated at Playground CURL Request UI tab it failed.

Returning a really unhelpful message

{"entity-type":"exception","code":"java.lang.NullPointerException","status":500,"message":null}

It took me a while to figure out the issue and it ended up being the lack of Content-type header.

Adding -H "Content-Type: application/json" fixed and provided the proper result.

0 REPLIES 0
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.