minglemer
minglemer
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
do you have any tips for a beginner coder or any other place to ask? - if this doesnt count as helping aswell
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
i understand
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
i will try figure it out myself, if i can
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
yea i get you dont worry abt it
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
yea, but am i not only setting it once?
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
oh i see
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
im not gonna use it for purposes as such
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
this is just a learning thing
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
yea
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
well im kinda new to http system so i tried doing something
c#
public class HttpClientWrapper
{
private static readonly HttpClient _client = new HttpClient();

public static HttpClient Client => _client;
private HttpClientWrapper() { }
}
c#
public class HttpClientWrapper
{
private static readonly HttpClient _client = new HttpClient();

public static HttpClient Client => _client;
private HttpClientWrapper() { }
}
didnt know what to name it
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
yea but that just returns 401 unauthorized
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
but yea I would really appreciate some help so if anyone knows this stuff feel free to answer 😄
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
then the main file which shouldnt interfere with this
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
i have another file with all of the typed clases such as User, Dms etc
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
i even took help from their inbuilt copilot but not even that could help me
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
this server was my last resource
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
and i do not know the root cause of the problem and ive tried debugging it and solving it
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
however it is not working because of this
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
so if u have discord on and ur asleep or something u can just put in a message containing "hi im asleep dm me tmr" or wtv
43 replies
CC#
Created by minglemer on 3/13/2025 in #help
✅ Exception: Cannot add value because header 'Authorization' does not support multiple values.
this basically just replies to someone who msgd u on discord
43 replies