Getting this error- FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=7.0.0.0
SDK you're using (please complete the following information):
- Version [e.g. 2.3.10]
<PackageReference Include="Xero.NetStandard.OAuth2" Version="4.0.1" /> <PackageReference Include="Xero.NetStandard.OAuth2Client" Version="1.6.0" />
Describe the bug Throws an error when running this integration with Azure Functions.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Please see image
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
PETOSS-395
Thanks for raising an issue, a ticket has been created to track your request
We were not able to reproduce the issue for the given SDK versions. We don't have any references for System.Text.Json package in Xero.NetStandard.OAuth2 and Xero.NetStandard.OAuth2Client SDK. Could you please verify it on your side and let us know?