Getting started with C# example

This thread is now closed to new comments.
Some of the links and information provided in this thread may no longer be available or relevant.
If you have a question please start a new post.
Hasco
Trusted Partner
63 Posts
Trusted Partner
Australia
Trusted Partner

63Posts

2Kudos

2Solutions

Solved: Go to Solution

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 Smiley Happy

 

Cheers,

Adam

 

2 REPLIES 2
Hasco
Trusted Partner
63 Posts
Trusted Partner
Australia
Trusted Partner

63Posts

2Kudos

2Solutions

Accepted Solution Solved

Re: Getting started with C# example

All good, redirect URI issue.

 

Cheers,

Adam

 

Hannah_B
MYOB Moderator
142 Posts
MYOB Moderator
Australia
MYOB Moderator

142Posts

33Kudos

25Solutions

Re: Getting started with C# example

Hi @Hasco 

 

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

 

Thanks,

 


Thanks,
@Hannah_B


MYOB API Specialist


MYOB API Support Centre|MYOB App Marketplace|MYOB AccountRight API Endpoint Doc's



Did my answer help?


Mark it as a Solution

Didn't find your answer here?

Try using advanced search to find a post more easily Advanced Search
or
Get the conversation started and make a new post Start a Post