Mendix SDK - Failed to create online working copy

0
Hello, I am attempting to run a script to analyze my app (deployed in the cloud, as well as can be run locally, committed to Team Server), and I keep getting the following error- Something went wrong: 'Failed to create online working copy: Invalid username and/or API key' I have checked the username is correct, and using a newly generated API Key (from project Dashboard> Settings, i.e. to make sure it's not a revoked key). Any help or insight into this issue would be appreciated. (Mendix newbie here) Thank you!      
asked
2 answers
9

Hi Atul,

There are two types of API keys in mendix. User-API keys and Project-API keys. In order to use the SDK you need the former i.e. a User-API key. You can genereate one if you go to your profile page under tab API Keys.

Regards,

Andrej

answered
3

I think you need an API for yourself. See documentation here: https://docs.mendix.com/apidocs-mxsdk/apidocs/authentication

Regards,

Ronald

 

answered