Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No error on application key denial #46

Open
alexjhawk opened this issue May 10, 2021 · 1 comment
Open

No error on application key denial #46

alexjhawk opened this issue May 10, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@alexjhawk
Copy link
Collaborator

When an application key has either been deleted or revoked, there is no indication from the connector. It continues as normal and displays the same 'null' result as it would on success.

@alexjhawk alexjhawk added the bug Something isn't working label May 10, 2021
@alexjhawk alexjhawk added the help wanted Extra attention is needed label May 21, 2021
@alexjhawk
Copy link
Collaborator Author

The current best option appears to be an initial query to Thingworx at connector startup using a different Accept header in the HTTP request. If we use the application/xml value, we may receive a more verbose response with an indication of app key failure which we can interpret on the Flexy side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant