-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid URI: The hostname could not be parsed. #210
Comments
I had the same issue I solved by setting the app key after the instantiating call. MC = new MailChimpManager(); |
Hmmm, I attempted your fix but I still got the same error. Here's the code before:
and here's the code after your fix:
both ways are caught in the try/catch with the same Invalid URI error. |
Also having trouble with this, any further clarification would be super helpful. Thanks! |
Please check in your branch into your public repos so we can help. |
Branch? I haven't changed your code at all but rather added your api through nuget in our application. |
Latest news. We were finally able to obtain VS 2017 where previously we used VS2013 so weren't able to compile the wrapper project. I then removed the wrapper reference installed through Nuget and compiled and manually added the wrappers dll. I no longer get this error. I don't know if its because I downloaded the code September last year or if it is because our project is now able run the newer C# code. |
It is because you are reconfiguring mailchimp please provide the limit and API key in the same instance of MailChimpConfiguration |
Stale issue message |
I am getting this error when calling mailchimpManager.List.GetAllAsync() and this is the stacktrace:
at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
at System.Uri..ctor(String uriString)
at MailChimp.Net.Core.BaseLogic.CreateMailClient(String resource)
at MailChimp.Net.Logic.ListLogic.d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1.ConfiguredTaskAwaiter.GetResult()
at MailChimp.Net.Logic.ListLogic.d__3.MoveNext()
Anyone have an idea of what I might be doing wrong? I have never come across this error and Google searching hasn't turned up anything useful.
The text was updated successfully, but these errors were encountered: