• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 No permission to upload attachment from Admin UI?

#1
I am trying to upload data to the attachments/do-upload endpoint with a POST request. From within the admin panel.

However, I get back this error:
You do not have permission to view this page or perform this action.

How may I fix this?
 

Mike

XenForo developer
Staff member
#2
It likely means that you're not passing the correct data through or you're not logged in as you expect in the front end. The control panel and the front end are totally separate in terms of session management so trying to submit forms across them isn't really a recommended approach.