After attempting to setup Tyk CE for on-prem use, I’ve been struggling trying to register an API definition and generate API keys that will work for an incoming request. I have been bouncing around the Getting Started section for CE, as well as various pages and this community forum to try and determine what is not properly configured.
All I receive from the response of a failed request is a 403 with the following payload:
“error”: “Access to this API has been disallowed”
Within the logs, I see:
time=“Feb 23 01:30:19” level=info msg=“Attempted access to unauthorised API.” api_found=false key=“” origin=x.x.x.x path=“/myservice/”
I don’t see any docs that help me to understand these log messages, specifically api_found=false.
I also turned on debug mode and found nothing additional other than the log line above to help me troubleshoot the configuration issue.
Would it be possible to allow debug messages to provide details on why a request wasn’t authorized, to help in the initial setup of a CE gateway?
For now, I’m likely going to try and stand up a single node gateway with the dashboard to see if I can have better success in seeing my first successful request routed to my service.