Jump to content

Recommended Posts

Posted

On this page: https://invisioncommunity.com/developers/rest-api?endpoint=forums/forums/POSTindex (and any others regarding permissions)

Quote

An object with the keys as permission options (view, read, add, reply, attachments) and values as permissions to use (which may be * to grant access to all groups, or an array of group IDs to permit access to)

I kept getting the following error when sending an object

{
	"errorCode": "EX1364",
	"errorMessage": "UNKNOWN_ERROR"
}

It needs to be sent as an array:

image.png.27cb6743acd3e35df905a4c496b6851f.png

 

Also, "an array of group IDs", if you send an array "[3]" it will literally insert that into the DB, it still seems to function but is probably wrong:

image.png.3f2977925a35d95f726ed9780614d2f3.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...