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
Error when project in Kentico Cloud has not activated the delivery API #44
Comments
Right, the app should output a friendly message. Something like:
|
Is there a project id to be used for testing? |
You can register at https://app.kenticocloud.com/ for free and use the generated sample project or you can create a new project and make sure you don't enable the Delivery API. Also, it shouldn't throw an exception when you use a random Guid (Guid that's not associated with any project). I guess the API will treat both situations in the same way so this could be another way to test it. |
This can be closed if the solution implemented is acceptable. |
it's great that now it doesn't throw an exception.
because this is quite confusing |
#44 Display a friendly message to indicate possible problem.
Fixed by #49 . |
The Delivery API is not active by default on new projects.
This causes an unhandled exception when trying to run the generator against that project.
The text was updated successfully, but these errors were encountered: