When I copy that example request in to Insomnia and send it, I get this error:
{ "message": "Internal Server Error" }
Here is the curl output of my request:
curl --request POST \
--url https://cloud.estimote.com/v1/indoor/locations \
--header 'authorization: Basic (Insomnia basic auth with app ID and token generated by Estimote Android code generator "doctracker-dy7)' \
--header 'content-type: application/json' \
--data '(exact JSON body copied from https://cloud.estimote.com/docs/#api-IndoorGroup-AddI )'
When I cut the JSON body down to just the name
, public
and orientation
fields, I get this error:
{ "message": "The location needs at least 3 walls" }
Which implies that it’s at least understanding some of the input.
When I cut the JSON down to just those three fields mentioned above, and add the walls, I still get Internal Server Error
.
When I try the Get all locations request with the same app ID and token, I get an empty JSON list: []
, so the request and authentication seem to be working without issue.
Can you post an example that you’ve confirmed actually works?
Could you get the team to add more context around these error messages?