Why am I getting 403 Forbidden Access error on Json Imports?
HI All, I’m looking at taking advantage of the Json Import features that was added last year to create some diagrams programatically. I’ve gotten to the point I should be able to import, but I’m getting 403 errors. Could someone help me figure this out?
curl 'https://api.lucid.co/documents'\
--request 'POST'\
--header 'Authorization: Bearer <TOKEN>'\
--header 'Lucid-Api-Version: 1'\
--form 'file=@./network.lucid;type=x-application/vnd.lucid.standardImport'\
--form 'title=New Document'\
--form 'product=lucidchart'\
--form 'parent=1234'
{"code":"accessForbidden","message":"Access to this resource is forbidden","requestId":"2cee5d6383fdcfac"}%
I’m trying to import the example from here… https://github.com/lucidsoftware/sample-lucid-rest-applications/tree/main/standard-import/demo-files/network