Upload Nintendo Switch symbol files to allow BugSnag to symbolicate stacktraces.
You will need to upload the generated symbol file for your Nintendo Switch game to BugSnag to see the source file, line number and method in error stacktraces.
To send Nintendo Switch symbol mapping files to BugSnag, POST them to
https://upload.bugsnag.com/nintendo-switch-symbol (or the address of your upload server, if using BugSnag On-premise) with the following parameters:
symbolFile- the path to the Nintendo Switch symbol file.
apiKey- your BugSnag integration API key for this application.
projectRoot- (optional) the root path of the project on the filesystem where the application was built. This improves error grouping and allows BugSnag to know which stack frames are from within your project.
overwrite- (optional) whether to overwrite any existing symbol file for the same build, either
appVersion- (optional) the version of the application that the symbols relate to.
moduleName- (optional) the name of the module/application/binary that the symbols relate to.
Here’s an example request with curl, where the ’@’ sign indicates that the
symbolFile parameter is an uploaded file:
$ curl --http1.1 \ "https://upload.bugsnag.com/nintendo-switch-symbol" \ -F symbolFile=@path/to/example.nss \ -F apiKey=YOUR_API_KEY_HERE \ -F projectRoot=C:\projects\MyProject \ -F appVersion=1.2.3 \ -F overwrite=true
If the file is accepted then an HTTP 202 response will be returned with the body “Accepted”.
If not, there are several possible problems which will be indicated with an HTTP 4XX response: