It should be
client = new CosmosClient({endpoint, key});
instead of
client = new CosmosClient({ endpoint: endpoint, auth: { masterKey: masterKey } });
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Thank you for the detailed feedback. We are actively investigating and will get back to you soon.
Thank you. please update the correct documentation.
@deborahc I am seeing multiple customers having issues with this tutorial. Is there a new version of the tutorial being made available?
@Mike-Ubezzi-MSFT - @southpolesteve is updating the docs. See https://github.com/MicrosoftDocs/azure-docs/issues/35948
Will be closed by https://github.com/MicrosoftDocs/azure-docs/pull/36601
Thank you @southpolesteve and @deborahc We will wait for the changes done by PR to reflect before closing this issue.
@jeffrey008 the PR above should fix the issues, the changes will go live tomorrow. We will close this issue if there aren't further questions.
Most helpful comment
@Mike-Ubezzi-MSFT - @southpolesteve is updating the docs. See https://github.com/MicrosoftDocs/azure-docs/issues/35948