✅ Error: The remote server returned an error: (403)
i try to download files from sharepoint and after that it gives me an exeption
i know the string are empty but just privat
my code:
67 Replies
MDN Web Docs
403 Forbidden - HTTP | MDN
The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.
WebClient
:when:
HttpClient
is your friend, webclient is obsoletethank u
but yeah, check what Jimmacle posted. 403 means the server said you are not allowed to access this resource, probably due to wrong access levels/tenant information
i mean, the credentials being blank will do that
you need to test the method with valid arguments
they are just private in discord, i did test it with a local file, and it said something with invalid to INSERT, first i try to get a connection
that sounds like an entirely different error than the one you made the post about
yeah, but i changed the path to sharepoint, i just wanted to see if my code does work with local files
i will try with HttpClient now
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
why is everyone hating it xD
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yeah and
oh
haha
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
xD
HAHAHAH
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
i already changed it
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
btw my code was wrong, i should have used graph api
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
MSSQL
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
ehhh
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
xD
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
1 sec
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
im not sure if its azur to be on honest, let me look things up
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yeah i wanna find the things that u asked
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
no
but
i was speaking to the programmer and she said, i should wait with the task (20min ago), we already have something similar but not with download, but with upload, and it gives us problems bc it says that the files are to long
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
If your code is too long, you can post to https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code!
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
from my project? or the similar one with the upload where its working
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
i dont have csproj
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
oh
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yeah azure identity
isnt on the latest version i think
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yeah i dont have this
i have
ProjectReference
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
yes
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
it was bc my pw and name was wrong, i didnt know that, my programmer showed me that, and said dont do string pw= "", do graph api connection like in the other programm
thats the other project
my programm is complet new
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
sharepoint
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
no
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
all good my stuff was also confusing
also im trying it with local files now
still doesnt work
'The specified ColumnMapping does not match any column in the source or target.'
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
im on it
Unknown User•5mo ago
Message Not Public
Sign In & Join Server To View
If you have no further questions, please use /close to mark the forum thread as answered
sure
still thanks for ur time