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.
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 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: