401 error when using document widget upload PDF file

I intend to use document widget to place a PDF file on one step of my app, but I always get “Warning about PDF upload: Failed [401]” error when PDF upload 100%, my pdf file is less than 5MB.
Any expert could help me on this topic?