Thiraz.4279 Posted May 26, 2018 Share Posted May 26, 2018 Hi, when I try to load a picture from the api inside a winform app I am developping, I get a 500 error.I tested with other websites url and they work just fine. Link to comment Share on other sites More sharing options...
Nokomis.5076 Posted May 26, 2018 Share Posted May 26, 2018 which picture do you try to load? Link to comment Share on other sites More sharing options...
Thiraz.4279 Posted May 26, 2018 Author Share Posted May 26, 2018 https://render.guildwars2.com/file/C717AF4E6EF8CD027938CD6DE97E9E68FEA6ED0A/591460.pngthis is an example, it comes from the API Link to comment Share on other sites More sharing options...
SlippyCheeze.5483 Posted May 27, 2018 Share Posted May 27, 2018 @"Thiraz.4279" said:https://render.guildwars2.com/file/C717AF4E6EF8CD027938CD6DE97E9E68FEA6ED0A/591460.pngthis is an example, it comes from the APIWorks for me. Does it work for you in your browser? I'm strongly suspecting that your issue actually lies with the programming language, not the resource.Also, please, for all that is holy, don't directly fetch from the API every time you need the image data. Cache that stuff. Link to comment Share on other sites More sharing options...
Thiraz.4279 Posted May 27, 2018 Author Share Posted May 27, 2018 I am using C# and it is working in my browser too.I try to use the following:pictureBox.Load(pictureUrl)and This is where I get my Exception (500)I am still new at developping software, I am making this one for personal use and for practice Link to comment Share on other sites More sharing options...
Nokomis.5076 Posted May 27, 2018 Share Posted May 27, 2018 Strange. I get the following error in my Firefox browser:{"error":48,"product":0,"module":2,"line":89,"text":"file couldn't be loaded"} Link to comment Share on other sites More sharing options...
Thiraz.4279 Posted May 27, 2018 Author Share Posted May 27, 2018 I just tried on firefox and it worked fine for me Link to comment Share on other sites More sharing options...
Nokomis.5076 Posted May 27, 2018 Share Posted May 27, 2018 Might be related with https://en-forum.guildwars2.com/discussion/41547/api-files Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now