Forum Discussion

Hasco's avatar
Hasco
Trusted Cover User
6 years ago
Solved

Getting started with C# example

Hi guys,

I'm just trying to get up and running with the C# example project. I've replaced the lines:

 

// I've put my actual key and secret in here

private const string DeveloperKey = "yep, my correct key is in here";
private const string DeveloperSecret = "yep, my correct secret is in here";

 

// and set this to true

private const bool UseCloud = true;

 

App builds and runs OK. MYOB Oauth2 Authentication screen launches and I put in my correct email address and password (these are certainly correct as I run the AccountRight desktop app all the time with these details). 

 

Next screen I see is a window showing:

 

We have encountered some issue with the request, please try again later or contact your app support
  • invalid_request

No other info is given. Help!

 

Disclaimer: 

I'm a former c++ sofware engineer but haven't written a line of code in about 8 years. Also new to Oauth2. Be gentle! I'm coming back up to speed slowly :)

 

Cheers,

Adam

 

2 Replies

Replies have been turned off for this discussion
  • Hasco's avatar
    Hasco
    Trusted Cover User
    6 years ago

    All good, redirect URI issue.

     

    Cheers,

    Adam

     

  • Han-Solo's avatar
    Han-Solo
    MYOB Staff
    6 years ago

    Hi Hasco 

     

    Thanks for reching out, Thanks for the update glad that is resolved. 

     

    Thanks,

     

Looking for something else?

Search the Community Forum for answers or find your topic and get the conversation started!

Community home

Level up your skills using MYOB software.

 

Find help guides and technical solutions for all MYOB products here

Explore video tutorials for our software at the MYOB Academy here

 

Dig into MYOB Academy for free courses, learning paths and live events to help build your business with MYOB.