Third Light Developer Exchange

Code and templating community forum for developers and software integrators

You are not logged in.

Announcement

If you wish to join the Developer Exchange, please contact your account manager - this is to avoid unnecessary spam in the forums. Many thanks for your understanding.

#1 2014-06-12 16:08:28

ashraf
Member
Registered: 2014-05-30
Posts: 18

Folders CreateFolder Function

Whenever I use Folders.CreateFolder function through the API I received  error  message "[action, ACTION_NOT_PERMITTED]" but when I execute the same URL direct from the Chrome browser it returns with no error and work correctly, please help me ?

This the URL:
api/1.0/Folders.CreateFolder/type="folder"/folderName=Zkakakka/parentId=0

Offline

#2 2014-06-12 16:11:01

dominic
Third Light Staff
Registered: 2013-06-06
Posts: 119

Re: Folders CreateFolder Function

Hi ashraf,

Most likely you are already logged in to IMS as an administrator when you run that in Chrome. From a separate API client you will need to handle logging in and the session token.

Dominic

Offline

#3 2014-06-18 17:12:26

ashraf
Member
Registered: 2014-05-30
Posts: 18

Re: Folders CreateFolder Function

here is below the method I am trying to use in my API code to create new parent folder.

Folders.CreateFolder/params={"folderName"="koko",parentid=0,"type"="FOLDER"}

but unfortunately I received this bad error input!

{"result":{"api":"BAD_INPUT","action":"API_ERROR","debug":"Parameter, 'type' not found for 'Createfolder' action."}}

How I can solve this error ? Appreciate your kind help

Thanks
Ash.

Offline

Board footer