I am trying to consume the stories API to read the sprint and stories, but, allthough $MendixApp/ProjectId does have the correct value, I keep getting the errormessage ‘Unknown API key’ in the latestError: In the doc https://docs.mendix.com/apidocs-mxsdk/apidocs/stories-api it say at every operation: Parameter Name Parameter Type Description ApiKey String The API Key the application uses to access the Stories API for this project. I tried at first to add an API key to the project itself: Apps → <ProjectName> → API Keys and then I tried to use the API key from my personal Mendix-account. Both gave the same response. What am I missing here? Which API key should I use?
However if using this, your user should have the rights to use the API functionality in the project. Boolean can be set in the security → node permissions tab.
I’ve been building a sprint portal using these APIs.
This is where you want to go to create an right API key for this web service.
Could it be a read issue to where you’re keeping your API Key attribute? I’ve got it set as a constant, that’s the only difference I can see at a glance between yours and what’s in my working local copy.