danielmonettelli/dotnetmaui-mitawi-weather-app-challenge

'java.lang.IllegalArgumentException: Invalid DSN: No public key provided.'

karlca opened this issue · 6 comments

Hi @karlca, thank you very much for reporting your issue, this error may be due to the fact that you did not add the OpenWeather API Key, the project's readme file contains the steps to generate it, I hope this solves it.

https://github.com/danimonettelli/netmaui-mitawi-app-challenge#steps-to-generate-your-api-key-in-openweather

I have added the OpenWeather API key,like this...
image

Great @karlca, in case you keep getting this error, make sure your device has internet, and your location permissions are turned on.

drawing drawing drawing drawing

Unfortunately, it didn't work!

image
I think it might be the problem here in MauiProgram.cs

@karlca you are absolutely right, I think that is the problem, I attach the documentation so you can generate your Dsn in Sentry, and I will also add the respective steps to the README. Thank you very much for the help provided.

https://docs.sentry.io/platforms/dotnet/guides/maui/