Giter Site home page Giter Site logo

Getting error - not enough arguments in call to a.authenticationProvider.AuthenticateRequest about kiota-authentication-azure-go HOT 4 CLOSED

microsoft avatar microsoft commented on June 18, 2024
Getting error - not enough arguments in call to a.authenticationProvider.AuthenticateRequest

from kiota-authentication-azure-go.

Comments (4)

baywet avatar baywet commented on June 18, 2024 3

Done,
https://github.com/microsoftgraph/msgraph-beta-sdk-go/releases/tag/v0.24.1
https://github.com/microsoftgraph/msgraph-sdk-go-core/releases/tag/v0.25.1
https://github.com/microsoftgraph/msgraph-sdk-go/releases/tag/v0.24.1

Just running go get github.com/microsoftgraph/[email protected] should get you sorted out!

Closing. Don't hesitate to open other issues if needed!

from kiota-authentication-azure-go.

baywet avatar baywet commented on June 18, 2024 2

Hi @bigdatasourav,
I'm assuming you're using the latest version of this package (0.3.0) and from the stack trace it seems that you're using an outdated version of the http package, please upgrade it to 0.4.1 and try again.
(also make sure you're on the latest version for msgraph-sdk-go-core and msgraph-sdk-go)

from kiota-authentication-azure-go.

baywet avatar baywet commented on June 18, 2024 2

That's because we haven't released a new version of the service SDK yet, and it's still referencing core 0.24.0 which still references the older versions. Thanks for the great feedback, let me release patches.

from kiota-authentication-azure-go.

justDabuK avatar justDabuK commented on June 18, 2024

I just had the same Problem and fortunately your assumption was right @baywet , and upgrading the github.com/microsoft/kiota-http-go package to version 0.4.1 fixed it 👌🏽

However, I wonder why it was using version 0.3.0 in the first place. I was just using the "installation commands" from msgraph-sdk-go and it downloaded the older version for some reason.

go get github.com/microsoftgraph/msgraph-sdk-go
go get github.com/Azure/azure-sdk-for-go/sdk/azidentity
go get github.com/microsoft/kiota-authentication-azure-go

Unfortunately I don't know Go that well yet, which is why I am making wild guesses here, but could it be that there is some wrongly linked version in a requirement file (or something similar) 🤔

from kiota-authentication-azure-go.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.