Closed rmeloni closed 2 months ago
@rmeloni are you certain that the serverUrl
is not undefined
or null
? This error will happen only if it is. Because if it is not defined it will try to get the client url from Dynamics Xrm object, but because it's also undefined it will throw that specific error.
@rmeloni are you certain that the
serverUrl
is notundefined
ornull
? This error will happen only if it is. Because if it is not defined it will try to get the client url from Dynamics Xrm object, but because it's also undefined it will throw that specific error.
It’s works! I forgot to change a environment variable.
DynamicsWebApi version "dynamics-web-api": "^2.1.4",
Describe the bug Run a retrieveMultiple inside BDD pipeline Azure DevOps
[Nest] 2298 - 06/21/2024, 5:47:15 PM ERROR [ExceptionsHandler] Azure Dataverse Error:Xrm Context is not available. In most cases, it can be resolved by adding a reference to a ClientGlobalContext.js.aspx. Please refer to MSDN documentation for more details.
Error: Azure Dataverse Error:Xrm Context is not available. In most cases, it can be resolved by adding a reference to a ClientGlobalContext.js.aspx. Please refer to MSDN documentation for more details. at AzureDataverseService.getTable (/home/vsts/work/1/s/Sistemas/MovimentosOffsites/API/src/azure-integration/services/azure-dataverse.service.ts:72:13)
Expected behavior Don´t show this error message.
Actual result Just an error or an end result.
Code Snippet
Screenshots![image](https://github.com/AleksandrRogov/DynamicsWebApi/assets/44670990/bd7bbd21-0479-43af-acb6-53bb2dbd3eb1)
Your Setup (please complete the following information):