Skip to content

Getting an error on calling the Reload REST API #543

Closed Answered by mountaindude
rumen-vasilev asked this question in Q&A
Discussion options

You must be logged in to vote

@rumen-vasilev
I did a quick test with 8.4.2 (stand-alone butler.exe running on WinSrv 2016) here and for me the API works:

Using cURL(on macOS) to call the API

➜  temp curl -X "PUT" "http://192.168.100.110:8081/v4/app/f42d6b16-8faf-45ca-a783-59f9da47db6d/reload" -H 'Content-Type: application/json; charset=utf-8' -d $'{}'

{"appId":"f42d6b16-8faf-45ca-a783-59f9da47db6d"}%
➜  temp

The result in the log is:

The fact that it's Enigma that complains about "Access denied" makes me wonder if your Butler for some reason cannot connect to the Sense server. Or if there are permissions issues in the file system on the Windows server.

Ideas for debugging the issue

Ensure connectivity to Sense server

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rumen-vasilev
Comment options

Answer selected by rumen-vasilev
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants