How to debug requests to the portal server?

338
2
Jump to solution
07-19-2023 01:20 AM
padmalcom
Occasional Contributor

Hi, since we frequently run into errors communicating with our portal server using the Portal and PortalItem classes, I'd like to know if I can output the requests and responses to/from the portal server somehow.

0 Kudos
1 Solution

Accepted Solutions
GuntherHeppner
Esri Contributor

@padmalcom 

With the Maps SDK for Kotlin v200.1.0, there is no way to log or observe the network traffic. You can observe network traffic with a Web Debugging Proxy such as Charles or Fiddler though.

With the upcoming 200.2.0 release we will provide an API that allows you to intercept network requests, so you would be able to observe/debug/log your portal requests programmatically.

View solution in original post

0 Kudos
2 Replies
GuntherHeppner
Esri Contributor

@padmalcom 

With the Maps SDK for Kotlin v200.1.0, there is no way to log or observe the network traffic. You can observe network traffic with a Web Debugging Proxy such as Charles or Fiddler though.

With the upcoming 200.2.0 release we will provide an API that allows you to intercept network requests, so you would be able to observe/debug/log your portal requests programmatically.

0 Kudos
padmalcom
Occasional Contributor

Thanks for the fast answer @GuntherHeppner

0 Kudos