swift3 - domain: "Error in the Request" - code: 401 in Swift 3 -


when run program terminates giving message. "(nserror)domain: "error in request" - code: 401" - regarding line

 self.calend = (list as! array<msgraphserviceevent>) 

full code

 var calend:array<msgraphserviceevent> = array<msgraphserviceevent>()      client.me.events.read(callback:  {(list: [any]?, error) in      self.calend = (list as! array<msgraphserviceevent>)      self.tabletest.reloaddata()  }) 

(also getting errors in values - "message" : "compacttoken parsing failed error code: -2147184105" )

i'm calling graph api , trying data table view.how solve error , data through office365 api call?


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -